Skip to content

v0.66.0

Latest

Choose a tag to compare

@yhirose yhirose released this 10 Nov 23:06

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: v0.65.0...v0.66.0