diff --git a/cpp-httplib-0.18.6.tar.gz b/cpp-httplib-0.18.6.tar.gz deleted file mode 100644 index 803f832..0000000 --- a/cpp-httplib-0.18.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8900747bba3dda8007f1876175be699036e09e4a25ceeab51196d9365bf1993a -size 1326428 diff --git a/cpp-httplib-0.20.1.tar.gz b/cpp-httplib-0.20.1.tar.gz new file mode 100644 index 0000000..91a6e9a --- /dev/null +++ b/cpp-httplib-0.20.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b74b1c2c150be2841eba80192f64d93e9a6711985b3ae8aaa1a9cec4863d1dd9 +size 1408474 diff --git a/cpp-httplib-test-issue2004-online.patch b/cpp-httplib-test-issue2004-online.patch deleted file mode 100644 index d649a6e..0000000 --- a/cpp-httplib-test-issue2004-online.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: cpp-httplib-0.18.6/test/test.cc -=================================================================== ---- cpp-httplib-0.18.6.orig/test/test.cc -+++ cpp-httplib-0.18.6/test/test.cc -@@ -6189,7 +6189,7 @@ TEST(SSLClientTest, WildcardHostNameMatc - ASSERT_EQ(StatusCode::OK_200, res->status); - } - --TEST(SSLClientTest, Issue2004) { -+TEST(SSLClientTest, Issue2004_Online) { - Client client("https://google.com"); - client.set_follow_location(true); - diff --git a/cpp-httplib.changes b/cpp-httplib.changes index e564359..8780075 100644 --- a/cpp-httplib.changes +++ b/cpp-httplib.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon May 12 11:00:44 UTC 2025 - pgajdos@suse.com + +- 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) + ------------------------------------------------------------------- Thu Feb 6 08:51:25 UTC 2025 - pgajdos@suse.com diff --git a/cpp-httplib.spec b/cpp-httplib.spec index 7f79219..b69fa35 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -16,18 +16,16 @@ # -%define sover 0.18 -%define libver 0_18 +%define sover 0.20 +%define libver 0_20 Name: cpp-httplib -Version: 0.18.6 +Version: 0.20.1 Release: 0 Summary: A C++11 HTTP/HTTPS server and client library License: MIT URL: https://github.com/yhirose/cpp-httplib Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.pc -# https://github.com/yhirose/cpp-httplib/issues/2042 -Patch0: cpp-httplib-test-issue2004-online.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(gtest)