Download Latest Version v0.66.0 source code.zip (2.3 MB)
Home / v0.66.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-11-10 904 Bytes
v0.66.0 source code.tar.gz 2026-11-10 2.1 MB
v0.66.0 source code.zip 2026-11-10 2.3 MB
Totals: 3 Items   4.4 MB 1

What's Changed

Bug fixes

  • Client: a redirect now stays on the unix socket when the client uses set_address_family(AF_UNIX) (#2658). An absolute Location used to have its host taken as a socket path, so the redirect failed or went to the wrong socket. Only localhost (the Host this client sends) counts as the same host, so a redirect to any other host still goes through the cross-host client and drops Authorization and Cookie. A host mapped with set_direct_hostname_addr_map keeps its mapping, and an https Location runs TLS over the socket with the Location's host.
  • Server: when creating a dynamic worker thread fails (for example under a pids limit), the job now stays queued for an existing worker. The std::system_error used to escape the accept loop and end in std::terminate.

Full Changelog: https://github.com/yhirose/cpp-httplib/compare/v0.65.0...v0.66.0

Source: README.md, updated 2026-11-10