Commit Graph

16 Commits

Author SHA256 Message Date
f915ce6276 Accepting request 1243582 from home:pgajdos
- 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

OBS-URL: https://build.opensuse.org/request/show/1243582
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=28
2025-02-06 10:29:00 +00:00
bcd23c3de3 Accepting request 1239040 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- 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 #1985

OBS-URL: https://build.opensuse.org/request/show/1239040
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=26
2025-01-20 14:24:58 +00:00
db7e8695fc Accepting request 1219540 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
Fix building with openssl 3.2.x

OBS-URL: https://build.opensuse.org/request/show/1219540
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=24
2024-10-30 12:42:15 +00:00
49695fa005 Accepting request 1204175 from home:svalx
Small specfile refactoring

OBS-URL: https://build.opensuse.org/request/show/1204175
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=22
2024-09-27 13:08:20 +00:00
db23b4adb1 Accepting request 1202481 from home:rrahl0
- 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

OBS-URL: https://build.opensuse.org/request/show/1202481
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=21
2024-09-27 12:29:03 +00:00
fb62cc2a18 Update to version 0.15.1:
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=19
2024-02-02 17:34:44 +00:00
3597e05acd - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=17
2023-05-31 07:17:15 +00:00
0189a9c1de - Move examples to devel subpackage
- Drop headers-only flavor and remove aliases for pkg-config files
  (gh#yhirose/cpp-httplib#1491)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=15
2023-02-16 07:09:30 +00:00
aa4ad34c19 Update to version 0.12.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=14
2023-02-09 15:11:41 +00:00
3f023f0a73 - Switch to meson tests
- Add examples to headers package

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=12
2023-02-08 14:57:29 +00:00
6eaa6d25e0 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=11
2023-02-07 15:29:28 +00:00
c2d8cfed75 Accepting request 1060702 from home:svalx
Migrate from obscpio to classical tar.gz sources archive for properly

OBS-URL: https://build.opensuse.org/request/show/1060702
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=9
2023-01-24 21:18:07 +00:00
ccd182b41e - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=7
2023-01-17 10:25:12 +00:00
42ed7c44a5 - Move LICENSE file to the library package
- Drop cmake BuildRequires and linker additional "-s" flag

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=6
2023-01-16 17:56:45 +00:00
4769d92063 Accepting request 1046144 from home:jengelh:branches:devel:libraries:c_c++
- Redo description so it does not rely on monospace formatting.

OBS-URL: https://build.opensuse.org/request/show/1046144
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=2
2023-01-02 18:14:18 +00:00
f49f3781c8 Accepting request 1045357 from home:svalx
A C++11 cross platform HTTP/HTTPS library
Features:
- Built-in mappings
- Static file server
- Post routing handler
- Pre routing handler
- Receive content with a content receiver
- Bind a socket to multiple interfaces and any available port
NOTE: This is a multi-threaded 'blocking' HTTP library.
If you are looking for a 'non-blocking' library, this is not the one that you want.

OBS-URL: https://build.opensuse.org/request/show/1045357
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=1
2023-01-02 11:27:03 +00:00