8 Commits

Author SHA256 Message Date
683fc167be Accepting request 1324246 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1324246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=15
2025-12-24 12:15:32 +00:00
eecefd8f4c - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=42
2025-12-23 06:52:26 +00:00
682616d3da Accepting request 1300978 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1300978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=14
2025-08-25 18:36:11 +00:00
38ba2f167a - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=40
2025-08-22 12:44:16 +00:00
d6a441f337 Accepting request 1298940 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1298940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=13
2025-08-13 14:22:56 +00:00
12f2a4e7cd cpp-httplib 0.24.0, fix the .pc file, and Tumbleweed build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=38
2025-08-08 13:22:04 +00:00
074920ce45 Accepting request 1295278 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1295278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpp-httplib?expand=0&rev=12
2025-07-25 15:03:46 +00:00
4e4cc18e88 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpp-httplib?expand=0&rev=36
2025-07-23 10:53:53 +00:00
5 changed files with 96 additions and 15 deletions

Binary file not shown.

View File

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

View File

@@ -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>
- version update to 0.22.0
* 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 ranges that are not in the form 0-n do not work #2157
* Fix windows req/res very slow compared to Linux #1777
* Add CPPHTTPLIB_HEADER_MAX_COUNT
* Windows ::isdigit compilation error #2135
* Specify version in meson.build #2139
* Detect if afunix.h exists #2145
* Feature request: let the Request& know which route matched #2101
* Feature/multipart headers #2152
-------------------------------------------------------------------
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>
- 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
* Add missing #include for strcasecmp #1744
* 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>
- Initial release

View File

@@ -5,7 +5,7 @@ libdir=${prefix}/lib64
Name: cpp-httplib
Description: A C++ HTTP/HTTPS server and client library
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
Libs: -L${libdir} -lcpp-httplib
Libs.private: -pthread

View File

@@ -1,7 +1,8 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +17,19 @@
#
%define sover 0.22
%define libver 0_22
%define sover 0.28
%define libver 0_28
Name: cpp-httplib
Version: 0.22.0
Version: 0.28.0
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
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: netcfg
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libbrotlienc)
@@ -68,7 +70,6 @@ sed -i 's|Version: 0.0.0|Version: %{version}|g' %{SOURCE1}
%build
%cmake \
-DBUILD_SHARED_LIBS=ON \
-DHTTPLIB_REQUIRE_OPENSSL=ON \
-DHTTPLIB_REQUIRE_ZLIB=ON \
-DHTTPLIB_REQUIRE_BROTLI=ON \
@@ -96,6 +97,7 @@ rm -r %{buildroot}%{_datadir}/{licenses/httplib,doc/packages/cpp-httplib}
%{_libdir}/lib%{name}.so.%{version}
%files devel
%license LICENSE
%doc README.md example
%{_libdir}/lib%{name}.so
%{_includedir}/httplib.h