986a20fb7d
Resolve #2017 ( #2022 )
...
* Resolve #2017
* Fix warning
* Update README
2025-01-17 17:37:07 -05:00
8311e1105f
Fix Windows build problem
2025-01-16 23:26:04 -05:00
ba6845925d
Fix #2014
2025-01-16 23:10:58 -05:00
343a0fc073
Fix #2011
2025-01-16 21:38:45 -05:00
54f8a4d0f3
Release v0.18.4
2025-01-16 01:00:25 -05:00
9c36aae4b7
Fix HTTP Response Splitting Vulnerability
2025-01-16 00:04:33 -05:00
b766025a83
clangformat
2025-01-16 00:03:10 -05:00
d647f484a4
fix:set_file_content with range request return 416. ( #2010 )
...
Co-authored-by: fenlog <bakurise@qq.com >
2024-12-24 09:38:59 -05:00
8794792baa
Treat out-of-range last_pos as the end of the content ( #2009 )
...
RFC-9110 '14.1.2. Byte Ranges':
A client can limit the number of bytes requested without knowing the
size of the selected representation. If the last-pos value is absent,
or if the value is greater than or equal to the current length of the
representation data, the byte range is interpreted as the remainder of
the representation (i.e., the server replaces the value of last-pos
with a value that is one less than the current length of the selected
representation).
https://www.rfc-editor.org/rfc/rfc9110.html#section-14.1.2-6
2024-12-23 13:14:36 -05:00
b85768c1f3
Fix #2005
2024-12-16 17:43:50 -05:00
258992a160
Changed to use non-blocking socket in is_ssl_peer_could_be_closed
2024-12-03 19:26:08 -05:00
a7bc00e330
Release v0.18.3
2024-12-03 06:33:00 -05:00
11a40584e9
Fix #1998
2024-12-03 00:38:20 -05:00
3e86bdb4d8
Fix #1997 ( #2001 )
2024-12-03 00:11:29 -05:00
c817d65695
Fix casting uint64_t to size_t for 32-bit builds ( #1999 )
2024-12-02 11:09:52 -05:00
51dee793fe
Release v0.18.2
2024-11-29 20:49:50 -05:00
457fc4306e
Fix #1993
2024-11-29 20:46:48 -05:00
fe07660f40
Fix #1986 ( #1988 )
2024-11-27 12:18:35 -05:00
da2f9e476e
Fix #1985 ( #1989 )
2024-11-27 12:18:23 -05:00
01dcf1d0ad
Fix #1969 (without unnecessary sleep_for) ( #1982 )
2024-11-16 10:56:57 -05:00
970b52897c
Fix #1980
...
Fix #1980
2024-11-16 02:09:52 -05:00
412ba04d19
Fix problem caused by #1975
2024-11-14 20:33:08 -05:00
bfef4b3e9b
Fix #1975
2024-11-14 17:27:28 -05:00
7bd316f3d0
Fix #1977
2024-11-14 16:46:27 -05:00
b1b4bb8850
clangformat
2024-11-13 22:50:03 -05:00
9dd565b6e3
Resolve #1973 ( #1976 )
...
* Fix #1973
* Fixed problems with 'Language for non-Unicode programs' setting on Windows
* Fix problems on English locale
2024-11-13 22:47:09 -05:00
5c1a34e766
Release v0.18.1
2024-10-18 17:16:54 -04:00
fa90d06dd5
Merge branch 'master' of github.com:yhirose/cpp-httplib
2024-10-18 17:16:14 -04:00
d869054318
Allow empty header values ( #1965 )
2024-10-18 10:16:48 -04:00
0cc1ca9a8d
Remove extra semicolon ( #1963 )
...
This fixes a -Wc++98-compat-extra-semi instance.
2024-10-15 00:09:04 -04:00
3701195033
Merge branch 'master' of github.com:yhirose/cpp-httplib
2024-10-14 21:32:28 -04:00
f884a56258
Remove space between operator"" and _t ( #1962 )
...
This should fix a -Wdeprecated-literal-operator instance since this is
deprecated as a result of CWG2521 (iiuc C++23).
2024-10-14 21:32:13 -04:00
d79633ff52
clangformat
2024-10-11 14:49:46 -04:00
e0ebc431dc
Fix #1959
2024-10-11 13:43:01 -04:00
e64379c3d7
Release v0.18.0
2024-09-12 12:28:35 -04:00
932b1cbc32
Fix shadow parameter warning ( #1936 )
2024-09-12 12:02:25 -04:00
de36ea7755
Fix #1933 on Linux and macOS
2024-09-09 23:07:27 -04:00
9f8db2c230
Fix #1933
2024-09-09 22:22:56 -04:00
3f00e1b321
Revert "Changed set_file_content to accept only a regular file path."
...
This reverts commit 7ab9c119ef
.
2024-09-09 20:03:47 -04:00
7ab9c119ef
Changed set_file_content to accept only a regular file path.
2024-09-09 19:59:18 -04:00
3f2922b3fa
Fix #1929
2024-09-09 19:25:52 -04:00
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
82fcbe3901
Code cleanup
2024-09-08 20:10:35 -04:00
dbd2465b56
Add some Open SSL function calls
2024-09-08 20:10:17 -04:00
ea79494b29
Renamed enable_server_host_verification to enable_server_hostname_verification and added Error::SSLServerHostnameVerification
2024-09-08 20:08:52 -04:00
a79c56d06b
Fix #1796
2024-09-08 09:26:19 -04:00
4c27f9c6ef
Made default server and client read/write timeout settings separately
2024-09-07 21:06:23 -04:00
d173a37d17
Increased CPPHTTPLIB_READ_TIMEOUT_SECOND to 300 from 5
2024-09-07 16:10:54 -04:00
7fd346a2ca
Fix #1379
2024-09-07 16:07:45 -04:00
3e86d93d13
clangformat
2024-09-07 10:16:03 -04:00