From 8c7eb1658e03fe673c6ebd3b514891ba4291762f29264aabbb4930b82fb7929f Mon Sep 17 00:00:00 2001 From: Alexey Svistunov Date: Fri, 2 Feb 2024 17:34:44 +0000 Subject: [PATCH] Update to version 0.15.1: OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=19 --- cpp-httplib-0.12.5.tar.gz | 3 --- cpp-httplib-0.15.1.tar.gz | 3 +++ cpp-httplib.changes | 44 +++++++++++++++++++++++++++++++++++++++ cpp-httplib.spec | 12 +++++------ 4 files changed, 53 insertions(+), 9 deletions(-) delete mode 100644 cpp-httplib-0.12.5.tar.gz create mode 100644 cpp-httplib-0.15.1.tar.gz diff --git a/cpp-httplib-0.12.5.tar.gz b/cpp-httplib-0.12.5.tar.gz deleted file mode 100644 index 479e433..0000000 --- a/cpp-httplib-0.12.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b488f3fa9c6bf35608c3d9a5b69be52e016bbf2fbfe67e5ee684eadb2655493e -size 639439 diff --git a/cpp-httplib-0.15.1.tar.gz b/cpp-httplib-0.15.1.tar.gz new file mode 100644 index 0000000..5305baf --- /dev/null +++ b/cpp-httplib-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d6a4a40ee8fd3f553b7e895882e60e674bd910883fc1857587dbbabee3cdb91 +size 1151103 diff --git a/cpp-httplib.changes b/cpp-httplib.changes index 38c3553..07e765d 100644 --- a/cpp-httplib.changes +++ b/cpp-httplib.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Fri Feb 2 17:01:44 UTC 2024 - Alexey Svistunov + +- Update to version 0.15.1: + * Malicious requests for many overlapping byte ranges of large files risk OOM #1766 + * Add missing #include for strcasecmp #1744 + * ThreadPool: optional limit for jobs queue (#1741) + * Fix #1628 (OpenSSL 1.1.1 End of Life on September 11, 2023) + * Fix Windows std::max macro problem #1750 + * Fix select() return code for fd >= 1024 (#1757) + * Add a getter for a bearer token from a request (#1755) + * Support move semantics for Response::set_content() (#1764) + * Treat paths with embedded NUL bytes as invalid (#1765) + * Fix usage of rand() is not seeded and depends on seeding by parent program #1747 + * Fix check request range and fix response Content-Range. #1694 + * Fix: Query parameter including query delimiter ('?') not being parsed properly (#1713) + * Fix #1736 + * Fix #1665 + * Change some of status messages based on RFC 9110 (#1740) + * Add StatusCode enum (#1739) + * Fix #1738 + * Fix #1685 + * Fix #1724 + * Add optional user defined header writer #1683 + * Fix CPPHTTPLIB_ALLOW_LF_AS_LINE_TERMINATOR (#1634) + * Avoid a -Warray-bounds false positive in GCC 13. (#1639) + * Fix #1638 + * Removed unnecessary CRLF at the end of multipart ranges data + * Fix #1559 + * Use memory mapped file for static file server (#1632) + * Fix #1519 + * Fix #1590 (#1630) + * Fix #1619 + * Fix #1624 + * Compiler freezes on Debian 10 (buster) with GCC 8.3.0 #1613 + * Don't overwrite the last redirected location (#1589) # This is a breaking change. + * Fix #1607 + * Add named path parameters parsing (Implements #1587) (#1608) + * Result: allow default constructor (#1609) + * Add support for zOS (#1581) + * Provide a CMake option to disable C++ exceptions (#1580) + * Load in-memory CA certificates (#1579) +- Requires OpenSSL version to 3.0 or later + ------------------------------------------------------------------- Wed May 31 07:10:55 UTC 2023 - Alexey Svistunov diff --git a/cpp-httplib.spec b/cpp-httplib.spec index e1b0302..db2fc8e 100644 --- a/cpp-httplib.spec +++ b/cpp-httplib.spec @@ -1,7 +1,7 @@ # # spec file for package cpp-httplib # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,12 @@ # -%define sover 0.12 -%define libver 0_12 +%define sover 0.15 +%define libver 0_15 Name: cpp-httplib -Version: 0.12.5 +Version: 0.15.1 Release: 0 -Summary: A C++11 HTTP/HTTPS library +Summary: A C++11 HTTP/HTTPS server and client library License: MIT URL: https://github.com/yhirose/cpp-httplib Source0: https://codeload.github.com/yhirose/cpp-httplib/tar.gz/refs/tags/v%{version}#/%{name}-%{version}.tar.gz @@ -30,7 +30,7 @@ BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig(gtest) BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libbrotlienc) -BuildRequires: pkgconfig(openssl) >= 1.1.1 +BuildRequires: pkgconfig(openssl) >= 3.0.0 %package -n lib%{name}%{libver} Summary: A C++11 HTTP/HTTPS library