Skip to content

Releases: yhirose/cpp-httplib

Updated version number in the User Agent string (0.6)

14 May 22:09
Compare
Choose a tag to compare
v0.6.1

Updated version in the User Agent string

New ContentProvider interface

14 May 02:58
Compare
Choose a tag to compare

ContentProvider now requires 'boolean return value'. It's a breaking change, but a user can now cancel a streaming process by returning false in content provider. This behavior is same as ContentReceiver.

Fixed a number of bugs

11 May 00:49
Compare
Choose a tag to compare
v0.5.13

Fixed potential infinite loop with content receiver

Changed CPPHTTPLIB_THREAD_POOL_COUNT back to 8

02 May 01:42
Compare
Choose a tag to compare
v0.5.12

Appled HANDLE_EINTR to `send` and `select` system calls

Support remote_addr and remote_port REMOTE_PORT header in client Request (#433)

25 Apr 22:08
Compare
Choose a tag to compare

SSLClient::set_ca_cert_store: mark as inline (#435)

20 Apr 17:19
da746c6
Compare
Choose a tag to compare
v0.5.10

SSLClient::set_ca_cert_store: mark as inline (#435)

set_redirect & set_header are susceptible to http response splitting attack #425

13 Apr 16:28
Compare
Choose a tag to compare

Fixed CVE-2020-11709

cpp-httplib through 0.5.8 does not filter \r\n in parameters passed into the set_redirect and set_header functions, which creates possibilities for CRLF injection and HTTP response splitting in some specific contexts.

https://nvd.nist.gov/vuln/detail/CVE-2020-11709
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11709

Handler called when error occurred #407

02 Apr 15:35
Compare
Choose a tag to compare

Fix exception that occurs with libc++ regex engine

01 Mar 18:29
bf7700d
Compare
Choose a tag to compare
Fix exception that occurs with libc++ regex engine (#368)

The regex that parses header lines potentially causes an unlimited
amount of backtracking, which can cause an exception in the libc++ regex
engine.

The exception that occurs looks like this and is identical to the
message of the exception fixed in
https://github.com/yhirose/cpp-httplib/pull/280:

	libc++abi.dylib: terminating with uncaught exception of type
	std::__1::regex_error: The complexity of an attempted match
	against a regular expression exceeded a pre-set level.

This commit eliminates the problematic backtracking.

Deflate compression support when decompressing input body on Server

24 Feb 16:51
f2bb9c4
Compare
Choose a tag to compare
v0.5.6

Support for deflate compression (#360)