Sebastien Blanchet
8191fd8e6c
Add optional private key password to SSLServer ctor ( #1205 )
2022-02-27 14:16:15 -05:00
yhirose
d73395e1dc
Release v0.10.3
v0.10.3
2022-02-22 10:21:27 -05:00
au-ee
64d001162b
CPPHTTPLIB_NO_DEFAULT_USER_AGENT skips default user agent ( #1201 )
2022-02-22 09:39:26 -05:00
yhirose
bb00a23116
Apply clangformat
2022-02-09 17:16:47 -05:00
yhirose
63d6e9b91b
Removed up.sh and down.sh
2022-02-09 17:16:18 -05:00
Edwin Kofler
66eed5681a
Fix typo in Dockerfile ( #1187 )
2022-02-06 09:15:15 -05:00
Andrea Pappacoda
8ecdb11979
build(meson): always install a pkg-config file ( #1182 )
...
A pkg-config file was previously installed only if cpp-httplib was being
built as a compiled library.
Since architecture-independent .pc files
can exist in /usr/share/pkgconfig, it can be useful to install one even
when installing the header-only version (for example, it could be used
by third party projects to easily find out if cpp-httplib is installed
and its version, using something like Meson's `dependency()` or CMake's
`pkg_check_modules()`).
The change makes the Meson build behave a bit more like the CMake one,
as it also always installs a CMake Config file, but here the pkg-config
file gets installed to the correct architecture-independent directory
(`datadir` represents /usr/share on Linux and simiar systems).
Lastly, I made some minor cleanups.
2022-02-03 19:50:49 -05:00
Andrea Pappacoda
894fcc8e02
test: add missing "_Online" suffix ( #1183 )
...
This test fails reproducibly in a Debian build chroot, and they generally don't have internet access
2022-01-30 12:34:52 -05:00
Rockybilly
7f43f0f3ff
User-Agent update cpp-httplib/0.10.2 ( #1181 )
2022-01-28 12:27:27 -05:00
Gregor Jasny
87e03dd1ce
Report connection timeout as separate event ( #1171 )
v0.10.2
2022-01-26 17:32:40 -05:00
yhirose
e5cacb465d
Fix #1172 ( #1173 )
...
This change is based on RFC7230, § 3.5 'Message Parsing Robustness': "Although the line terminator for the start-line and header fields is the sequence CRLF, a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR."
2022-01-26 13:34:23 -05:00
yhirose
ee8371f753
Added 'PostLarge' unit test for #1169
2022-01-22 09:52:27 -05:00
yhirose
081723f983
Add another fuzz test corpus
2022-01-20 15:27:26 -05:00
yhirose
b61f36579c
Fix #1166
2022-01-20 15:24:09 -05:00
ArnaudBienner
33f53aa458
Fix set_content_provider example in README.md ( #1163 )
2022-01-13 12:26:34 -05:00
yhirose
412ab5f063
Added example/Dockerfile.hello
2022-01-11 00:18:20 -05:00
yhirose
11e02e901c
Fixed unit test
2021-12-31 16:10:57 -05:00
yhirose
65a8f4cf44
Added hosted_at
. ( Resolve #1113 )
2021-12-31 15:35:52 -05:00
yhirose
27d128bbb4
Fix problems in #1154
2021-12-31 14:55:40 -05:00
yhirose
070f9bec58
Code cleanup
2021-12-31 13:27:47 -05:00
c00c
f817032513
fix socket option setting for windows ( #1154 )
...
* fix socket option setting for windows
* misc
Co-authored-by: zhangsen <zhangsen@cyberkl.com>
2021-12-31 10:07:59 -05:00
yhirose
17abe221c0
Fix is_file problem on Windows ( #1153 )
2021-12-30 14:54:57 -05:00
vitaly-ivanov
4a7a81e039
Work around silly Win defines to support BoringSSL ( #1148 )
...
* Work around silly Win defines to support BoringSSL
* changes wrapped into ifdef(_WIN32) just in case
2021-12-30 11:08:51 -05:00
yhirose
37fd4eb643
Code cleanup
2021-12-26 07:53:56 -05:00
yhirose
865b0e4c03
Resolve #1145
2021-12-26 07:53:06 -05:00
yhirose
b324921c1a
Release v0.10.1
v0.10.1
2021-12-24 21:01:06 -05:00
yhirose
63f72caf30
Fix "Issue 42689 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in server_fuzzer"
2021-12-24 20:58:09 -05:00
yhirose
99ac17b90a
Fix #1140
2021-12-23 23:19:14 -05:00
yhirose
4b0ed9ee88
Release v0.10.0
v0.10.0
2021-12-21 18:15:41 -05:00
yhirose
20056f6cda
Update test.cc
2021-12-19 14:19:10 -05:00
yhirose
3b35279b16
Added SSLServer::ssl_context()
2021-12-18 00:21:41 -05:00
yhirose
27deb44df5
Update SSL related code
2021-12-18 00:15:38 -05:00
yhirose
24a3ef949b
Performance improvement for multipart form data file upload.
2021-12-18 00:15:10 -05:00
yhirose
bc3e098964
Updated .gitignore
2021-12-17 22:36:02 -05:00
yhirose
c247dcdd7b
Added uploader.sh
2021-12-17 22:34:00 -05:00
yhirose
793ae9855e
Fix #1041 ( #1132 )
...
* Fix #1041
* Fixed problem with is_socket_alive
* Adjust the way to check if the sockt is still alive.
* Revert "Adjust the way to check if the sockt is still alive."
This reverts commit 6c673b21e5439087e3cdc9c3dd39eba2d99928c8.
* Adjust is_socket_alive according to the code review
2021-12-16 21:06:17 -05:00
yhirose
9fa426d51b
Added more fuzzing corpus
2021-12-14 18:35:20 -05:00
yhirose
cec6288a99
Resolve #1131
2021-12-14 07:58:21 -05:00
yhirose
9639578c2a
Release v0.9.10
v0.9.10
2021-12-11 19:26:22 -05:00
yhirose
743ecbd365
Issue1121 ( #1122 )
...
* Fixed test/Makefile problem when cleaning *.pem files
* Fix #1121
2021-12-11 19:07:12 -05:00
yhirose
084c643973
Fixed README
2021-12-10 22:33:59 -05:00
Andrea Pappacoda
824e7682e4
test: add missing _Online suffixes ( #1110 )
2021-11-27 09:54:05 -05:00
Andrea Pappacoda
f9074684dd
build(meson): drop Git-based version detection ( #1109 )
...
See 3051152103579a5fdfb0d49f827d8d52cc1bfecb
2021-11-27 09:47:09 -05:00
yhirose
ddff782133
Release v0.9.9
v0.9.9
2021-11-26 20:46:38 -05:00
yhirose
3051152103
Fix #1102 ( #1108 )
2021-11-26 20:44:58 -05:00
yhirose
06026bb47d
Code formating
v0.9.8
2021-11-23 10:53:05 -05:00
yhirose
226388ae27
Resolve #1100
2021-11-23 10:47:30 -05:00
Scott Graham
ea7548b4cc
Remove stray ; causing warning with -Wextra-semi ( #1099 )
2021-11-22 07:16:07 -05:00
Rodolphe
c7486ead96
accept protobuf encoding ( #1096 )
...
Co-authored-by: rodolphe <rodolphe@zen.ly>
2021-11-17 13:14:31 -05:00
yhirose
90a291214c
Update Makefile
2021-11-15 23:08:49 -05:00