1
0
mirror of synced 2025-06-10 20:21:41 +03:00
Commit Graph

1157 Commits

Author SHA1 Message Date
27deb44df5 Update SSL related code 2021-12-18 00:15:38 -05:00
24a3ef949b Performance improvement for multipart form data file upload. 2021-12-18 00:15:10 -05:00
bc3e098964 Updated .gitignore 2021-12-17 22:36:02 -05:00
c247dcdd7b Added uploader.sh 2021-12-17 22:34:00 -05:00
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 6c673b21e5.

* Adjust is_socket_alive according to the code review
2021-12-16 21:06:17 -05:00
9fa426d51b Added more fuzzing corpus 2021-12-14 18:35:20 -05:00
cec6288a99 Resolve #1131 2021-12-14 07:58:21 -05:00
9639578c2a Release v0.9.10 v0.9.10 2021-12-11 19:26:22 -05:00
743ecbd365 Issue1121 (#1122)
* Fixed test/Makefile problem when cleaning *.pem files

* Fix #1121
2021-12-11 19:07:12 -05:00
084c643973 Fixed README 2021-12-10 22:33:59 -05:00
824e7682e4 test: add missing _Online suffixes (#1110) 2021-11-27 09:54:05 -05:00
f9074684dd build(meson): drop Git-based version detection (#1109)
See 3051152103
2021-11-27 09:47:09 -05:00
ddff782133 Release v0.9.9 v0.9.9 2021-11-26 20:46:38 -05:00
3051152103 Fix #1102 (#1108) 2021-11-26 20:44:58 -05:00
06026bb47d Code formating v0.9.8 2021-11-23 10:53:05 -05:00
226388ae27 Resolve #1100 2021-11-23 10:47:30 -05:00
ea7548b4cc Remove stray ; causing warning with -Wextra-semi (#1099) 2021-11-22 07:16:07 -05:00
c7486ead96 accept protobuf encoding (#1096)
Co-authored-by: rodolphe <rodolphe@zen.ly>
2021-11-17 13:14:31 -05:00
90a291214c Update Makefile 2021-11-15 23:08:49 -05:00
c111c42a86 build(meson): feature args in pkg-config file (#1092)
Follow-up for #1090. The args are now also added to the pkg-config file.
2021-11-15 22:50:33 -05:00
6fb5b63018 Fix #1093. Remove meson-build tests from GitHubActions (#1094) 2021-11-15 22:49:40 -05:00
ec56dfa35e Fix #1085 (#1091) 2021-11-15 14:37:10 -05:00
943cd51b67 build(meson): pass feature args to dependency consumers (#1090)
Fixes #1087
2021-11-15 14:03:25 -05:00
301faa074c Added test case for #1065 2021-10-29 07:29:23 -04:00
dc0481e832 Add CIFuzz integration (#1079)
Signed-off-by: David Korczynski <david@adalogics.com>
2021-10-27 12:19:21 -04:00
4f8fcdbaf7 Allow to specify server IP address (#1067)
* Allow to specify server IP address

* Reimplement in set_hostname_addr_map

* Add tests for set_hostname_addr_map

* Fix tests after implement set_hostname_addr_map

* SpecifyServerIPAddressTest.RealHostname typo
2021-10-16 15:05:55 -04:00
b80aa7fee3 support custom ssl ctx configuration for SSLServer (#1073) v0.9.7 2021-10-15 07:13:16 -04:00
c384be02c9 Fixed GitHub Actions build error 2021-10-14 10:52:05 -04:00
d17ac3bb40 Fix "Issue 39922 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in server_fuzzer" 2021-10-14 08:55:29 -04:00
c7554ccac2 Fix #1069 (#1070) v0.9.6 2021-10-09 20:35:58 -04:00
35ef1c7bae Fix #1063 2021-10-03 18:37:59 -04:00
d87d0672a8 Split the header only if needed (#1060)
* Update split.py

* Update split.py

* Update split.py

* Update split.py
v0.9.5
2021-09-28 18:11:50 -04:00
3da42fd1e8 Avoid min/max macro expansion on Windows (#1057) 2021-09-25 08:53:15 -04:00
503aa61325 Fix problem with an empty parameter in set_base_dir 2021-09-20 17:40:05 -04:00
e4c276d0c2 doc: fix typo in README (#1056)
fixed typo in README.md, replacing `Sutudio` with `Studio`.
2021-09-18 11:33:23 -04:00
e07f7691a8 Update README 2021-09-17 21:26:31 -04:00
623ab4a96e Updated README regarding Visual Studio support 2021-09-17 11:36:08 -04:00
e1efa337a2 Make Client move-constructible (#1051) 2021-09-16 14:05:42 -04:00
549cdf2f7d test: avoid infinite loop when IPV6 is unsupported (#1054) 2021-09-16 14:04:43 -04:00
3c522386e9 Fix "Issue 38551 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in server_fuzze" 2021-09-12 19:24:48 -04:00
c202aa9ce9 Read buffer support. (Fix #1023) (#1046) 2021-09-12 00:26:02 -04:00
e3e28c6231 meson: add tests (#1044)
This integrates the "main" test suite (test/test.cc) in Meson.

This allows to run the tests in the CI with the Meson-built version of
the library to ensure that nothing breaks unexpectedly.

It also simplifies life of downstream packagers, that do not have to
write a custom build script to split the library and run tests but can
instead just let Meson do that for them.
2021-09-11 14:26:48 -04:00
4e05368086 Fix #1054 2021-09-11 14:13:49 -04:00
e1afe74fe2 Fix #1037 2021-09-10 22:42:14 -04:00
461acb02f5 Comment out SlowPostFail test for now 2021-09-10 22:37:31 -04:00
415edc237c Set error variable for failed write_data (#1036) 2021-09-05 16:15:46 -04:00
e20ecd2574 Full Meson support (#1033)
* Full Meson support
cpp-httplib can be now built with Meson even in compiled library mode.

The library is built with LTO, supports OpenSSL, zlib and Brotli,
and the build system also generates a pkg-config file when needed.

Compared to the CMake file this one is quite small (more than five times
smaller!), and maintaining it won't be an issue :)

* meson: automatic versioning
2021-09-04 11:33:53 -04:00
ab477b5631 Fix "Issue 37742 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in server_fuzzer" v0.9.4 2021-09-02 22:57:57 -04:00
0823d5c7f2 Fixed #1031 2021-08-30 17:16:31 -04:00
1cc6930363 Append '_Online' suffix to Unit test names that access external servers v0.9.3 2021-08-23 13:02:19 -04:00