Skip to content

Releases: yhirose/cpp-httplib

Add retry logic for SSL_write

10 Oct 00:39
c7554cc
Compare
Choose a tag to compare

Fix bugs and performance improvement

29 Sep 16:15
d87d067
Compare
Choose a tag to compare

Fix "Issue 37742 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in server_fuzzer"

03 Sep 03:01
Compare
Choose a tag to compare
v0.9.4

Fix "Issue 37742 in oss-fuzz: cpp-httplib:server_fuzzer: Timeout in s…

Added '_Online' suffix to unit test cases accessing external servers

23 Aug 21:32
Compare
Choose a tag to compare
v0.9.3

Append '_Online' suffix to Unit test names that access external servers

Fix some problems

23 Jul 23:28
Compare
Choose a tag to compare

Fix IPv6 addresses in host header not escaped. #998
Fix ca_cert_path/ce_cert_store lose #1004
Fix gzip compression/decompression over 4 GiB data size #1002

Fix problem with IPv6 address

16 Jul 00:15
Compare
Choose a tag to compare

cpp-httplib now accepts IPv6 address such as http://[::1]:1234.

Content Provider Resource Releaser interface change

11 Jun 18:49
Compare
Choose a tag to compare

It's a breaking change from v0.8.x. The content provider resource releaser now takes bool success parameter to see if the all the content have been sent to the client successfully.

Fix SSL read timeout errors on Windows

23 May 00:17
089b9da
Compare
Choose a tag to compare
Fix virtual call in ClientImpl::~ClientImpl() (#942)

* Fix virtual call in ClientImpl::~ClientImpl()

This fixes a warning in clang tidy:

> Call to virtual method 'ClientImpl::shutdown_ssl' during
> destruction bypasses virtual dispatch

ClientImpl::~ClientImpl() calls lock_socket_and_shutdown_and_close()
that itself calls shutdown_ssl().  However, shutdown_ssl() is virtual
and C++ does not perform virtual dispatch in destructors, which results
in the wrong overload being called.

This change adds a non-virtual shutdown_ssl_impl() function that is
called from ~SSLClient().  We also inline sock_socket_and_shutdown_and_close()
and removes the virtual call in ~ClientImpl().

* Inline and remove lock_socket_and_shutdown_and_close()

The function only has one caller.

Fix timeout problems and Remove redundant call to close_socket

23 Apr 21:16
7c60e69
Compare
Choose a tag to compare
v0.8.8

Remove redunant call to close_socket (#911)

Added `set_address_family`

15 Apr 13:53
Compare
Choose a tag to compare
v0.8.7

Code format