forked from pool/cpp-httplib
Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
367bb31325 | ||
| 683fc167be | |||
| eecefd8f4c | |||
| 682616d3da | |||
| 38ba2f167a | |||
| d6a441f337 | |||
| 12f2a4e7cd | |||
| 074920ce45 | |||
| 4e4cc18e88 |
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,3 +1,86 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
CVE-2025-53628 (bsc#1246468)
|
||||||
|
CVE-2025-53629 (bsc#1246471)
|
||||||
|
- 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>
|
||||||
|
|
||||||
@@ -297,4 +380,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