Releases: yhirose/cpp-httplib
Releases · yhirose/cpp-httplib
Fix problem with IPv6 address
cpp-httplib now accepts IPv6 address such as http://[::1]:1234
.
Content Provider Resource Releaser interface change
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
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
v0.8.8 Remove redunant call to close_socket (#911)
Added `set_address_family`
v0.8.7 Code format
Fix content reader problem with auto redirection
v0.8.6 Additional changes for #889
Fix problem with Get with Parameters
v0.8.5 Fix #878
Fix response line parsing problem without reason phrase
v0.8.4 Fix #860
Add exception handler support
Add exception handler (#845) * Add exception handler * revert content reader changes * Add test for and fix exception handler * Fix warning in test * Readd exception test, improve readme note, don't rethrow errors, remove exception handler response
Minor API breaking change for the pre request handler
It now takes HandleResponse
as a return value.