8
0
forked from pool/cpp-httplib

Accepting request 1276812 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1276812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=9
This commit is contained in:
2025-05-13 18:12:32 +00:00
committed by Git OBS Bridge
5 changed files with 33 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8900747bba3dda8007f1876175be699036e09e4a25ceeab51196d9365bf1993a
size 1326428

BIN
cpp-httplib-0.20.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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);

View File

@@ -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

View File

@@ -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)