yhirose
d79633ff52
clangformat
2024-10-11 14:49:46 -04:00
yhirose
e0ebc431dc
Fix #1959
2024-10-11 13:43:01 -04:00
Andrew McDaniel
131bc6c674
Add documentation for using Unix domain sockets. ( #1954 )
...
* Add documentation for using unix domain sockets.
* Formatting
2024-10-03 10:53:25 -04:00
yhirose
10d68cff50
Added a unit test for #1946
2024-09-26 22:24:44 -04:00
zjyhjqs
996acc5253
Feat: add CPack support ( #1950 )
2024-09-25 00:19:41 -04:00
yhirose
7c4799d0cf
Fix #1798 for CMake ( #1944 )
2024-09-19 18:33:32 -04:00
yhirose
c239087332
Fix Mafile errors
2024-09-17 18:37:44 -04:00
Andrea Pappacoda
7018e9263d
test(meson): copy files in www directory ( #1941 )
...
These files were added in commits
2d01e712866d3ed17d33569b8fa5345f5cade146 and
b8315278cb4c313e97f9b980d29b09d35f742a97
2024-09-17 18:06:01 -04:00
yhirose
4990b4b4b7
Fix problems with SSLSlientServerTest.*
tests
2024-09-17 17:00:17 -04:00
Andrea Pappacoda
5064373c23
test(meson): fix SSLClientServerTest.*
tests with OpenSSL 3.2.0 ( #1940 )
...
* build(meson): bump minimum version to 0.62.0
This allows making some minor cleanups
* test(meson): fix SSLClientServerTest.* tests with OpenSSL 3.2.0
Since OpenSSL commit
<342e3652c7
>,
the default X.509 certificate format generated with the `openssl req`
command has been changed to X.509 v3 from X.509 v1.
For some reason, this change breaks cpp-httplib's SSLClientServerTest.*
tests.
To fix the test failures, this patch passes the '-x509v1' flag instead
of '-x509' when OpenSSL 3.2.0 or newer is detected. To detect the
version of a command line utility, Meson 0.62.0 or later is required.
Fixes <https://github.com/yhirose/cpp-httplib/issues/1798 >, but only for
the Meson build system.
2024-09-17 16:58:09 -04:00
yhirose
6c93aea59a
Revert "Enabled HostnameToIPConversionTest.YouTube_Online partially"
...
This reverts commit 6553cdedab9bcd87cc87d32f1550d57c237c1a13.
2024-09-15 01:18:20 -04:00
yhirose
6553cdedab
Enabled HostnameToIPConversionTest.YouTube_Online partially
2024-09-13 20:45:59 -04:00
yhirose
a61b2427b0
Update benchmark base vertion to 0.18.0
2024-09-13 20:34:30 -04:00
yhirose
af4ece3d5f
Update benchmark/Makefile
2024-09-12 20:41:56 -04:00
yhirose
e64379c3d7
Release v0.18.0
v0.18.0
2024-09-12 12:28:35 -04:00
yhirose
5053912534
Updated actions/upload-artifact from v1 to v4
2024-09-12 12:04:25 -04:00
Jean-Francois Simoneau
932b1cbc32
Fix shadow parameter warning ( #1936 )
2024-09-12 12:02:25 -04:00
yhirose
de36ea7755
Fix #1933 on Linux and macOS
2024-09-09 23:07:27 -04:00
yhirose
9f8db2c230
Fix #1933
2024-09-09 22:22:56 -04:00
yhirose
3f00e1b321
Revert "Changed set_file_content to accept only a regular file path."
...
This reverts commit 7ab9c119efb0d1a2f139e6d53da105b9e214b596.
2024-09-09 20:03:47 -04:00
yhirose
7ab9c119ef
Changed set_file_content to accept only a regular file path.
2024-09-09 19:59:18 -04:00
yhirose
3f2922b3fa
Fix #1929
2024-09-09 19:25:52 -04:00
yhirose
509f583dca
Fix problem caused by #1931 .
2024-09-09 19:19:52 -04:00
Paul Harris
2d01e71286
Test reading empty zero-length file ( #1931 )
2024-09-09 17:54:11 -04:00
yhirose
e612154694
Issue1431 ( #1926 )
...
* Renamed enable_server_host_verification to enable_server_hostname_verification and added Error::SSLServerHostnameVerification
* Add some Open SSL function calls
* Code cleanup
* Fix #1431
2024-09-08 22:45:47 -04:00
yhirose
82fcbe3901
Code cleanup
2024-09-08 20:10:35 -04:00
yhirose
dbd2465b56
Add some Open SSL function calls
2024-09-08 20:10:17 -04:00
yhirose
ea79494b29
Renamed enable_server_host_verification to enable_server_hostname_verification and added Error::SSLServerHostnameVerification
2024-09-08 20:08:52 -04:00
yhirose
f35aff84c2
Fixed FuzzableServer build error
2024-09-08 19:00:23 -04:00
yhirose
7b18ae6f16
Update benchmark
2024-09-08 10:56:13 -04:00
yhirose
a79c56d06b
Fix #1796
2024-09-08 09:26:19 -04:00
yhirose
3d6e315a4c
Fix #1923
2024-09-08 08:38:36 -04:00
yhirose
4c27f9c6ef
Made default server and client read/write timeout settings separately
2024-09-07 21:06:23 -04:00
yhirose
d173a37d17
Increased CPPHTTPLIB_READ_TIMEOUT_SECOND to 300 from 5
2024-09-07 16:10:54 -04:00
yhirose
7fd346a2ca
Fix #1379
2024-09-07 16:07:45 -04:00
yhirose
c673d502b9
Update server_and_client.cc
2024-09-07 11:11:57 -04:00
yhirose
c43c51362a
Add monitor tool
2024-09-07 10:16:15 -04:00
yhirose
3e86d93d13
clangformat
2024-09-07 10:16:03 -04:00
yhirose
f6e4e2d0f3
Code cleanup
2024-09-07 10:15:22 -04:00
yhirose
01a52aa8bd
Add example/server_and_client.cc
2024-09-07 10:05:53 -04:00
yhirose
8415bf0823
Resolve #1906
2024-09-07 00:05:41 -04:00
orbea
327ff263f5
httplib.h: support LibreSSL ( #1922 )
2024-09-06 22:19:53 -04:00
yhirose
61c418048d
Release v0.17.3
v0.17.3
2024-09-06 19:58:02 -04:00
yhirose
9720ef8c34
Code cleanup
2024-09-06 19:48:25 -04:00
yhirose
978a4f6345
Fix KeepAliveTest.SSLClientReconnectionPost problem ( #1921 )
2024-09-06 13:58:24 -04:00
bgs99
80fb03628b
Only match path params that span full path segment ( #1919 )
...
* Only match path params that span full path segment
* Fix C++11 build
2024-09-06 08:48:51 -04:00
laowai9189
2480c0342c
‘constexpr’ error ( #1918 )
...
httplib.h: In member function ‘constexpr size_t httplib::detail::case_ignore_hash::operator()(const string&) const’:
httplib.h:359:30: error: call to non-‘constexpr’ function ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::data() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
359 | return hash_core(key.data(), key.size(), 0);
2024-09-06 07:23:29 -04:00
bgs99
eb6f610a45
Fix find_package for curl ( #1920 )
2024-09-06 07:22:03 -04:00
yhirose
cb74e4191b
Performance imporovement for Keep-Alive
2024-09-06 00:03:43 -04:00
yhirose
dfa641ca41
Misc
2024-09-05 22:54:48 -04:00