Skip to content

Tags: fordreaming/cpp-httplib

Tags

v0.9.0

Toggle v0.9.0's commit message
Updated copyright year

v0.8.9

Toggle v0.8.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix virtual call in ClientImpl::~ClientImpl() (yhirose#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.

v0.8.8

Toggle v0.8.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Remove redunant call to close_socket (yhirose#911)

v0.8.7

Toggle v0.8.7's commit message
Code format

v0.8.6

Toggle v0.8.6's commit message
Additional changes for yhirose#889

v0.8.5

Toggle v0.8.5's commit message

v0.8.4

Toggle v0.8.4's commit message

v0.8.3

Toggle v0.8.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add exception handler (yhirose#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

v0.8.2

Toggle v0.8.2's commit message
Resolve yhirose#839

v0.8.1

Toggle v0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
No content check (yhirose#823)

* No content check

* unit test for no content

* fixing merge conflict break

* oops during manual merge conflict