1
0
mirror of synced 2025-07-19 05:03:13 +03:00
Commit Graph

1577 Commits

Author SHA1 Message Date
01a52aa8bd Add example/server_and_client.cc 2024-09-07 10:05:53 -04:00
8415bf0823 Resolve #1906 2024-09-07 00:05:41 -04:00
327ff263f5 httplib.h: support LibreSSL (#1922) 2024-09-06 22:19:53 -04:00
61c418048d Release v0.17.3 v0.17.3 2024-09-06 19:58:02 -04:00
9720ef8c34 Code cleanup 2024-09-06 19:48:25 -04:00
978a4f6345 Fix KeepAliveTest.SSLClientReconnectionPost problem (#1921) 2024-09-06 13:58:24 -04:00
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
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
eb6f610a45 Fix find_package for curl (#1920) 2024-09-06 07:22:03 -04:00
cb74e4191b Performance imporovement for Keep-Alive 2024-09-06 00:03:43 -04:00
dfa641ca41 Misc 2024-09-05 22:54:48 -04:00
969a9f99d5 Adjust sleep 2024-09-05 22:54:28 -04:00
c099b42ba3 Removed write_format 2024-09-05 22:17:56 -04:00
b8315278cb Add a missing file 2024-09-05 19:35:43 -04:00
485f8f2411 Added one more case to MountTest.Redicect unit test. 2024-09-05 17:49:12 -04:00
953e4f3841 Adjust sleep duration 2024-09-05 17:45:09 -04:00
adf65cfe61 Target C++11 for benchmark 2024-09-05 17:44:51 -04:00
12c829f6d3 Fix #1389 and #1907 2024-09-05 17:44:32 -04:00
913314f1b1 Fix warning 2024-09-05 17:43:51 -04:00
ef63f97afe Release v0.17.2 v0.17.2 2024-09-05 12:57:26 -04:00
bda74db01d Fix fuzzing test error 2024-09-05 12:50:05 -04:00
9ff3ff9446 Fixed build error 2024-09-05 12:27:50 -04:00
c75d071615 Add benchmark tool 2024-09-05 12:22:46 -04:00
b4989130da Peformance improvement by removing tolower function call 2024-09-05 12:09:38 -04:00
4fc0303bda clangformat 2024-09-05 12:07:35 -04:00
3d9cc51851 Fixed build error on Windows due to max macro in windows.h 2024-09-05 12:02:40 -04:00
f69587656f build(meson): add libcurl test dependency (#1914)
Prompted by PR #1911
2024-09-04 18:05:03 -04:00
d5fc340c30 Update README 2024-09-04 12:23:48 -04:00
d79a547dc9 Merge branch 'solarispika-fix-100-continue' 2024-09-04 10:17:01 -04:00
bd1da4346a Disable Expect100ContinueTest test on Windows 2024-09-04 09:51:36 -04:00
4c2a608a0c Fix GitHub Actions errors 2024-09-04 09:06:27 -04:00
ee4eb8deaa Merge branch 'fix-100-continue' of github.com:solarispika/cpp-httplib into solarispika-fix-100-continue 2024-09-04 08:45:48 -04:00
7196ac8a07 Fix incorrect handling of Expect: 100-continue
Fix #1808
2024-09-04 17:50:42 +08:00
c88b09bc6b Release v0.17.1 v0.17.1 2024-09-03 21:20:57 -04:00
87fab847b8 Fix SIGINT problem in Docker image 2024-09-03 21:20:10 -04:00
4e6055f084 Fix problem with Abstract Namespace Unix Domain 2024-09-03 20:56:16 -04:00
975cf0dae5 Fix #1908 2024-09-03 18:00:12 -04:00
4854a694cd Use IPPROTO_IP 2024-09-03 17:29:28 -04:00
b1f8e986bf Fix #1908 (#1910)
* Fix #1908

* Code format
2024-09-03 00:47:39 -04:00
c5ee208775 Fix build error on Mac and Linux 2024-09-02 23:04:38 -04:00
ddfdacfa49 Fix build error 2024-09-02 22:49:31 -04:00
2514ebc20f Fix #1848 2024-09-02 20:38:01 -04:00
4f9c6540b2 Fixed warning 2024-09-02 20:33:33 -04:00
21c9a6a1ff Windows: simplify conditional compilation and fix call to CreateFileMappingW. (#1909) 2024-09-02 18:01:05 -04:00
7f6d413ddd Release v0.17.0 v0.17.0 2024-09-01 07:53:56 -04:00
88277139e7 Added set_ipv6_v6only method (#1905)
* Added `set_ipv6_v6only` method

* Adjust the place where socket_options is called
2024-09-01 07:52:24 -04:00
6cdd3493a1 Fix #1788 2024-09-01 01:55:27 -04:00
9c91b6f4a6 Fix #1645 2024-09-01 00:11:07 -04:00
cee838e335 Documentation 2024-08-31 17:42:43 -04:00
d82c82db2c Add sleep in handle_EINTR 2024-08-31 17:19:52 -04:00