forked from pool/cpp-httplib
Compare commits
42 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 683fc167be | |||
| eecefd8f4c | |||
| 682616d3da | |||
| 38ba2f167a | |||
| d6a441f337 | |||
| 12f2a4e7cd | |||
| 074920ce45 | |||
| 4e4cc18e88 | |||
| dc2a97a05f | |||
| a0de67286f | |||
| 469f244f62 | |||
| 38eadfddc6 | |||
| ac75ac1979 | |||
| d20b1c1a21 | |||
| 32f9caf302 | |||
| 625899f15d | |||
| 94dbd2a452 | |||
| 4876e7e3bf | |||
| 1df78ffd75 | |||
| 8aa9e82f54 | |||
| cb90b6e91c | |||
| 8536137bbd | |||
| 00133b801e | |||
| 8c7eb1658e | |||
| bf29c9ce9c | |||
| 0be02fb7e9 | |||
| 873352e1b6 | |||
| 54d019a41e | |||
| a52c3c7ac2 | |||
| 89c65e36ef | |||
| 9ee3fc246e | |||
| 0bd43622be | |||
| eb312d10a5 | |||
| 5443574828 | |||
| adfc342378 | |||
| 00f9b648e9 | |||
| 75ec71d709 | |||
| 08096817ed | |||
| 3321500b94 | |||
| 6cb665c50d | |||
| 005e03b5d3 | |||
| 455e15d2d5 |
3
_service
3
_service
@@ -1,3 +0,0 @@
|
|||||||
<services>
|
|
||||||
<service name="download_files" mode="manual"/>
|
|
||||||
</services>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8d6a4a40ee8fd3f553b7e895882e60e674bd910883fc1857587dbbabee3cdb91
|
|
||||||
size 1151103
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:405abd8170f2a446fc8612ac635d0db5947c0d2e156e32603403a4496255ff00
|
|
||||||
size 1323636
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a0567bcd6c3fe5cef1b329b96245119047f876b49e06cc129a36a7a8dffe173e
|
|
||||||
size 1324253
|
|
||||||
@@ -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
LFS
BIN
cpp-httplib-0.20.1.tar.gz
LFS
Binary file not shown.
BIN
cpp-httplib-0.22.0.tar.gz
LFS
BIN
cpp-httplib-0.22.0.tar.gz
LFS
Binary file not shown.
3
cpp-httplib-0.28.0.tar.gz
Normal file
3
cpp-httplib-0.28.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ccb32f9832c906d571f61794f453223dbb724ba738265551e3cd28ca325b529d
|
||||||
|
size 1312543
|
||||||
@@ -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);
|
|
||||||
|
|
||||||
@@ -1,16 +1,96 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 22 20:58:05 UTC 2025 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.28.0
|
||||||
|
* Fix HTTP 414 errors hanging until timeout
|
||||||
|
* CMake: Add HTTPLIB_SHARED option, don't define BUILD_SHARED_LIBS
|
||||||
|
* Add Client methods with both content provider and receiver
|
||||||
|
* Fix struct member initialization issue in getaddrinfo_with_timeout
|
||||||
|
* Add #undef _res after including resolv.h to prevent macro conflicts
|
||||||
|
- 0.27.0 changes
|
||||||
|
* SSL Error Reporting Improvements
|
||||||
|
* SSL Client Certificate Authentication
|
||||||
|
* IPv6 Host Header Support
|
||||||
|
* Memory Safety Fix
|
||||||
|
* EventDispatcher Stability
|
||||||
|
* Threading Issues
|
||||||
|
* Build System Enhancements
|
||||||
|
* For full changelog see https://github.com/yhirose/cpp-httplib/releases/tag/v0.27.0
|
||||||
|
- 0.26.0 changes
|
||||||
|
* Initialize start time for server to improve timing accuracy
|
||||||
|
* Addressed an unspecified issue reported in #2217
|
||||||
|
* Fix: handle EAI_ALLDONE from gai_suspend in getaddrinfo_with_timeout
|
||||||
|
* Fix #2223: Resolved issue as discussed in #2224
|
||||||
|
* Fix inconsistent use of macro TARGET_OS_OSX on macOS
|
||||||
|
* build(meson): Corrected new build option names for Meson build system
|
||||||
|
* Make code sample compilable
|
||||||
|
* Fix 32-bit MSVC compiler error due to unknown command #warning
|
||||||
|
- Upstream release includes fixes for:
|
||||||
|
CVE-2025-66570 (boo#1254734)
|
||||||
|
CVE-2025-66577 (boo#1254735)
|
||||||
|
- Add netcfg build requirement to fix tests
|
||||||
|
* The "SNI_AutoDetectionTest.SNI_Logic" test fails if localhost only resolves
|
||||||
|
to 127.0.0.1 (ipv4-only). netcfg provides the needed /etc/hosts config with
|
||||||
|
the ::1 localhost ipv6 entry.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 12 12:05:54 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
|
||||||
|
|
||||||
|
- updated version to 0.25.0
|
||||||
|
* ErrorLogger Support
|
||||||
|
* Changed 32-bit Windows support from #error to #warning
|
||||||
|
* Unified _WIN64 macros to _WIN32 for better compatibility
|
||||||
|
* Improved Windows environment support
|
||||||
|
* CMake Pointer Size Check #2197
|
||||||
|
* Winndows Version Requirements #2191, #2192
|
||||||
|
* Better build-time compatibility detection
|
||||||
|
* Fixed Chocolatey OpenSSL compatibility issues
|
||||||
|
* Improved SSL functionality stability on Windows
|
||||||
|
* Resolved Windows version check problems
|
||||||
|
* Enhanced platform detection
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 4 21:10:04 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- 0.24.0:
|
||||||
|
* URL Encoding/Decoding Improvements
|
||||||
|
* Accept Header Quality Value Parsing Exception Handling
|
||||||
|
* Missing Client::set_max_timeout Method Implementation
|
||||||
|
- fix incorrect version in openSUSE package specific .pc file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 22 23:58:47 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
|
||||||
|
|
||||||
|
- version update to 0.23.1
|
||||||
|
* Fix issue with HTTP handling #2021
|
||||||
|
* Fix specific bug addressed in this release #2111
|
||||||
|
* Resolve issue #366
|
||||||
|
* Resolve issue #1264
|
||||||
|
* Fix getaddrinfo stalling issue when network is down
|
||||||
|
* Fix proxy-related issues
|
||||||
|
* Fix #1656: Improve logging before compression #1656
|
||||||
|
* Add URL encoding helpers for user input in GET requests #2170
|
||||||
|
* Add SSL error access functionality #2169
|
||||||
|
* Cleaner API: API improvements #2166
|
||||||
|
* Add POST with content receiver feature #cfb56c0
|
||||||
|
* Add Params support for PUT/DELETE methods #b2bf172
|
||||||
|
* Complete removal of Windows 8 or lower support #2177
|
||||||
|
* Removal of 32-bit environment support (64-bit only) #2173
|
||||||
|
* Improve form field access methods #2171
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 24 14:39:29 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
|
Tue Jun 24 14:39:29 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
|
||||||
|
|
||||||
- version update to 0.22.0
|
- version update to 0.22.0
|
||||||
* Fix ranges that are not in the form 0-n do not work #2157
|
* Fix ranges that are not in the form 0-n do not work #2157
|
||||||
* Fix windows req/res very slow compared to Linux #1777
|
* Fix windows req/res very slow compared to Linux #1777
|
||||||
* Add CPPHTTPLIB_HEADER_MAX_COUNT
|
* Add CPPHTTPLIB_HEADER_MAX_COUNT
|
||||||
* Windows ::isdigit compilation error #2135
|
* Windows ::isdigit compilation error #2135
|
||||||
* Specify version in meson.build #2139
|
* Specify version in meson.build #2139
|
||||||
* Detect if afunix.h exists #2145
|
* Detect if afunix.h exists #2145
|
||||||
* Feature request: let the Request& know which route matched #2101
|
* Feature request: let the Request& know which route matched #2101
|
||||||
* Feature/multipart headers #2152
|
* Feature/multipart headers #2152
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 19 20:04:41 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
Mon May 19 20:04:41 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
@@ -157,7 +237,7 @@ Sun Sep 22 16:50:33 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 2 17:01:44 UTC 2024 - Alexey Svistunov <svalx@svalx.net>
|
Fri Feb 2 17:01:44 UTC 2024 - Alexey Svistunov <svalx@svalx.net>
|
||||||
|
|
||||||
- Update to version 0.15.1:
|
- Update to version 0.15.1:
|
||||||
* Malicious requests for many overlapping byte ranges of large files risk OOM #1766
|
* Malicious requests for many overlapping byte ranges of large files risk OOM #1766
|
||||||
* Add missing #include for strcasecmp #1744
|
* Add missing #include for strcasecmp #1744
|
||||||
* ThreadPool: optional limit for jobs queue (#1741)
|
* ThreadPool: optional limit for jobs queue (#1741)
|
||||||
@@ -297,4 +377,3 @@ Mon Dec 26 09:13:54 UTC 2022 - svalx@svalx.net
|
|||||||
Fri Dec 23 08:53:05 UTC 2022 - Alexey Svistunov <svalx@svalx.net>
|
Fri Dec 23 08:53:05 UTC 2022 - Alexey Svistunov <svalx@svalx.net>
|
||||||
|
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ libdir=${prefix}/lib64
|
|||||||
Name: cpp-httplib
|
Name: cpp-httplib
|
||||||
Description: A C++ HTTP/HTTPS server and client library
|
Description: A C++ HTTP/HTTPS server and client library
|
||||||
URL: https://github.com/yhirose/cpp-httplib
|
URL: https://github.com/yhirose/cpp-httplib
|
||||||
Version: 0.18.1
|
Version: 0.0.0
|
||||||
Requires.private: openssl >= 3.0.0, zlib, libbrotlicommon, libbrotlidec, libbrotlienc
|
Requires.private: openssl >= 3.0.0, zlib, libbrotlicommon, libbrotlidec, libbrotlienc
|
||||||
Libs: -L${libdir} -lcpp-httplib
|
Libs: -L${libdir} -lcpp-httplib
|
||||||
Libs.private: -pthread
|
Libs.private: -pthread
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cpp-httplib
|
# spec file for package cpp-httplib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
|
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,18 +17,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define sover 0.22
|
%define sover 0.28
|
||||||
%define libver 0_22
|
%define libver 0_28
|
||||||
Name: cpp-httplib
|
Name: cpp-httplib
|
||||||
Version: 0.22.0
|
Version: 0.28.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A C++11 HTTP/HTTPS server and client library
|
Summary: A C++11 HTTP/HTTPS server and client library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/yhirose/cpp-httplib
|
URL: https://github.com/yhirose/cpp-httplib
|
||||||
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.pc
|
Source1: %{name}.pc
|
||||||
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: netcfg
|
||||||
BuildRequires: pkgconfig(gtest)
|
BuildRequires: pkgconfig(gtest)
|
||||||
BuildRequires: pkgconfig(libbrotlidec)
|
BuildRequires: pkgconfig(libbrotlidec)
|
||||||
BuildRequires: pkgconfig(libbrotlienc)
|
BuildRequires: pkgconfig(libbrotlienc)
|
||||||
@@ -68,7 +70,6 @@ sed -i 's|Version: 0.0.0|Version: %{version}|g' %{SOURCE1}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
|
||||||
-DHTTPLIB_REQUIRE_OPENSSL=ON \
|
-DHTTPLIB_REQUIRE_OPENSSL=ON \
|
||||||
-DHTTPLIB_REQUIRE_ZLIB=ON \
|
-DHTTPLIB_REQUIRE_ZLIB=ON \
|
||||||
-DHTTPLIB_REQUIRE_BROTLI=ON \
|
-DHTTPLIB_REQUIRE_BROTLI=ON \
|
||||||
@@ -96,6 +97,7 @@ rm -r %{buildroot}%{_datadir}/{licenses/httplib,doc/packages/cpp-httplib}
|
|||||||
%{_libdir}/lib%{name}.so.%{version}
|
%{_libdir}/lib%{name}.so.%{version}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
%doc README.md example
|
%doc README.md example
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_includedir}/httplib.h
|
%{_includedir}/httplib.h
|
||||||
|
|||||||
Reference in New Issue
Block a user