8
0
forked from pool/cpp-httplib
Files
cpp-httplib/cpp-httplib-test-issue2004-online.patch
Alexey Svistunov 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

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

14 lines
453 B
Diff

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