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 absoluteLocationused to have its host taken as a socket path, so the redirect failed or went to the wrong socket. Onlylocalhost(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 dropsAuthorizationandCookie. A host mapped withset_direct_hostname_addr_mapkeeps its mapping, and anhttpsLocationruns TLS over the socket with theLocation'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_errorused to escape the accept loop and end instd::terminate.
Full Changelog: v0.65.0...v0.66.0