eecefd8f4c
- Update to 0.28.0 * Fix HTTP 414 errors hanging until timeout * CMake: Add HTTPLIB_SHARED option, don't define BUILD_SHARED_LIBS * Add Client methods with both content provider and receiver * Fix struct member initialization issue in getaddrinfo_with_timeout * Add #undef _res after including resolv.h to prevent macro conflicts - 0.27.0 changes * SSL Error Reporting Improvements * SSL Client Certificate Authentication * IPv6 Host Header Support * Memory Safety Fix * EventDispatcher Stability * Threading Issues * Build System Enhancements * For full changelog see https://github.com/yhirose/cpp-httplib/releases/tag/v0.27.0 - 0.26.0 changes * Initialize start time for server to improve timing accuracy * Addressed an unspecified issue reported in #2217 * Fix: handle EAI_ALLDONE from gai_suspend in getaddrinfo_with_timeout * Fix#2223: Resolved issue as discussed in #2224 * Fix inconsistent use of macro TARGET_OS_OSX on macOS * build(meson): Corrected new build option names for Meson build system * Make code sample compilable * Fix 32-bit MSVC compiler error due to unknown command #warning - Upstream release includes fixes for: CVE-2025-66570 (boo#1254734) CVE-2025-66577 (boo#1254735) - Add netcfg build requirement to fix tests * The "SNI_AutoDetectionTest.SNI_Logic" test fails if localhost only resolves to 127.0.0.1 (ipv4-only). netcfg provides the needed /etc/hosts config with
Alexey Svistunov2025-12-23 06:52:26 +00:00
682616d3da
Accepting request 1300978 from devel:libraries:c_c++
Ana Guerrero2025-08-25 18:36:11 +00:00
38ba2f167a
- updated version to 0.25.0 * ErrorLogger Support * Changed 32-bit Windows support from #error to #warning * Unified _WIN64 macros to _WIN32 for better compatibility * Improved Windows environment support * CMake Pointer Size Check #2197 * Winndows Version Requirements #2191, #2192 * Better build-time compatibility detection * Fixed Chocolatey OpenSSL compatibility issues * Improved SSL functionality stability on Windows * Resolved Windows version check problems * Enhanced platform detection
Alexey Svistunov2025-08-22 12:44:16 +00:00
4e4cc18e88
- version update to 0.23.1 * Fix issue with HTTP handling #2021 * Fix specific bug addressed in this release #2111 * Resolve issue #366 * Resolve issue #1264 * Fix getaddrinfo stalling issue when network is down * Fix proxy-related issues * Fix#1656: Improve logging before compression #1656 * Add URL encoding helpers for user input in GET requests #2170 * Add SSL error access functionality #2169 * Cleaner API: API improvements #2166 * Add POST with content receiver feature #cfb56c0 * Add Params support for PUT/DELETE methods #b2bf172 * Complete removal of Windows 8 or lower support #2177 * Removal of 32-bit environment support (64-bit only) #2173 * Improve form field access methods #2171Dirk Mueller2025-07-23 10:53:53 +00:00
dc2a97a05f
Accepting request 1288500 from devel:libraries:c_c++
Ana Guerrero2025-06-26 12:05:30 +00:00
da571aaa0e
- version update to 0.22.0 * Fix ranges that are not in the form 0-n do not work #2157 * Fix windows req/res very slow compared to Linux #1777 * Add CPPHTTPLIB_HEADER_MAX_COUNT * Windows ::isdigit compilation error #2135 * Specify version in meson.build #2139 * Detect if afunix.h exists #2145 * Feature request: let the Request& know which route matched #2101 * Feature/multipart headers #2152Alexey Svistunov2025-06-25 10:30:45 +00:00
a0de67286f
Accepting request 1278526 from devel:libraries:c_c++
Ana Guerrero2025-05-23 12:29:02 +00:00
469f244f62
- Add dependency from cpp-httplib-devel to libzstd-devel to workaround cmake wanting it in all cases unconditionally.
Alexey Svistunov2025-05-20 07:48:48 +00:00
38eadfddc6
Accepting request 1276812 from devel:libraries:c_c++
Ana Guerrero2025-05-13 18:12:32 +00:00
ac75ac1979
- version update to 0.20.1 0.20.1 (CVE-2025-46728 [bsc#1242777]) * Add AF_UNIX support on windows #2115 * Support zstd also via pkg-config #2121 * Fix#2113 * Fix "Unbounded Memory Allocation in Chunked/No-Length Requests" 0.20.0 * server_certificate_verifier extended to reuse built-in verifier #2064 * Assertion failed when destroying httplib::Client * #2068 * Spaces incorrectly allowed in header field names #2096 * build(meson): copy MountTest.MultibytesPathName files #2098 * Remove SSLInit #2102 * Add zstd support #2088 * Question the behavior of method read_content_without_length #2109 * Crash when calling std::exit while server running or client requests in flight #2097 0.19.0 * Global timeout feature (same as "--max-time" curl option) #2034 * Fix check for URI length to prevent incorrect HTTP 414 errors 0.18.7 * Potential memory corruption in stream_line_reader #2028 - deleted patches - cpp-httplib-test-issue2004-online.patch (upstreamed)
Alexey Svistunov2025-05-12 11:21:29 +00:00
d20b1c1a21
Accepting request 1243599 from devel:libraries:c_c++
Ana Guerrero2025-02-07 21:46:53 +00:00
32f9caf302
- version update to 0.18.6 * Resolve#2033 * Port/Address re-use #2011 * Invalid Content-Length values should be rejected #2014 * Feature request: ability to check if the connection is still alive #2017 * Changed to use non-blocking socket in is_ssl_peer_could_be_closed (258992a) * Treat out-of-range last_pos as the end of the content #2009 * fix:set_file_content with range request return 416. #2010 * Fix HTTP Response Splitting Vulnerability (9c36aae) - added patches fix https://github.com/yhirose/cpp-httplib/issues/2042 + cpp-httplib-test-issue2004-online.patch
Alexey Svistunov2025-02-06 10:29:00 +00:00
625899f15d
Accepting request 1239053 from devel:libraries:c_c++
Ana Guerrero2025-01-21 20:09:47 +00:00
94dbd2a452
- Update to 0.18.3: * Bug fixes: - Regression: Client keep-alive subsequent requests very slow #1997 - 304 Not Modified response stalls until timeout #1998 - Update to 0.18.2: * Bug fixes: - Fix the problem that CreateFile2 in mmap::open fails to... #1973 - Default Accept-Encoding header for the client #1975 - SSLClientReconnection fails on Windows #1980 - delay in keep_alive due to sleep #1969 - missing query pararm in httplib::Client::send #1985Alexey Svistunov2025-01-20 14:24:58 +00:00
8536137bbd
- update to 0.18.0: * httplib.h: support LibreSSL * Nice way to call "handle_file_request" from user code * How to diagnose the infamous read error 4 * Made default server and client read/write timeout settings separately * Slow performance caused by get_remote_ip_and_port and get_local_ip_and_port * Provides a way to ignore host verify * add API support for verify certificate manually - update to 0.17.3: * Accessing Directory * ‘constexpr’ error * Only match path params that span full path segment * Fix KeepAliveTest.SSLClientReconnectionPost problem - update to 0.17.2: * Fix incorrect handling of Expect: 100-continue * Peformance improvement by removing tolower function call - update to 0.17.1: * Header parser incorrectly accepts NUL and CR within header values * Fix problem with Abstract Namespace Unix Domain * Fix SIGINT problem in Docker image - update to 0.17.0: * Changed CPPHTTPLIB_KEEPALIVE_MAX_COUNT to 100 * Add Dockerfile for static file server * Breaking Change!: get_header_ methods on Request and Response now take… * Add sleep in handle_EINTR * Added set_ipv6_v6only method * impossible to shut down the server safely * Performance: reserve body to avoid frequent reallocations and copies - update to 0.16.3: * Fixed set_connection_timeout() unexpected results
Alexey Svistunov2024-09-27 12:29:03 +00:00
00133b801e
Accepting request 1145507 from devel:libraries:c_c++
Ana Guerrero2024-02-09 22:54:50 +00:00
0be02fb7e9
- Update to version 0.12.5: * Add HTTPLIB_INSTALL CMake option (#1575) * Fix more CRLF injection problems * Don't loading system certs from Keychain on iOS (#1546) * Initialize sockaddr_un to fix valgrind uninitialised byte message. (#1547, #1547) * Using set_content_provider with length of 0 makes it infinitely loop (#1545) * How to check if server is running successfully in another thread? (#1548) * Fix leaked handle in create_socket (#1554) * Fix "Location" header url corrupted by percent-unescaping in redirect… (#1459) * Trailing headers not handled (#1486) * SSL access through a proxy causes SIGSEGV (#1533) * System certs support on macOS (#1474) * Add Request::get_file_values method (#1495) * Fix: assert socket_requests_are_from_thread_ std::this_thread::get_id() (#1498) * Fix: multipart Content-Type headers with both boundary and charset parameters (#1516)
Alexey Svistunov2023-05-31 07:17:15 +00:00
9ee3fc246e
- Switch to meson tests - Add examples to headers package
Alexey Svistunov2023-02-08 14:57:29 +00:00
0bd43622be
- For an explicit choice when buildtime dependencies resolving added an unique pkgconfig files aliases for both shipped library flavors: cpp-httplib-headers.pc and cpp-httplib-shared.pc - Enable tests performing for compiled flavor
Alexey Svistunov2023-02-07 15:29:28 +00:00
00f9b648e9
- Update to version 0.11.4: * Release v0.11.4 * add support for requests with both MultipartFormDataItems and Content Providers (#1454) * Add EINTR and EAGAIN judge for accept (#1438) * Updated unit test * std::condition_variable::notify_one/all() should be called after unlocking mutex (#1448) * Support LOCAL_ADDR and LOCAL_PORT header in client Request (#1450) * Fix#1442 * Removed code for upsupported OpenSSL - Combined multibuild cpp-httplib and cpp-httplib-headers packages - Remove unneeded BuildRequires for cpp-httplib-headers
Alexey Svistunov2023-01-17 10:25:12 +00:00
75ec71d709
- Move LICENSE file to the library package - Drop cmake BuildRequires and linker additional "-s" flag
Alexey Svistunov2023-01-16 17:56:45 +00:00