Repository navigation
v3.0.0-beta.4
Pre-release
Pre-release
·
1 commit
to master
since this release
This beta adds an option to keep the default :: host IPv6-only, alongside CORS, HTTPS redirect shutdown and macOS file name fixes. It also includes a security fix. The related advisory will be published separately soon.
Security
- Proxy header logging hardening. Hardened how the client address is read from the
X-Forwarded-ForandX-Real-IPheaders for--trusted-proxies. Details will follow with the related advisory.
Added
- IPv6-only default host. Added
--ipv6-onlyto bind the::host withIPV6_V6ONLYfor the main and HTTPS redirect listeners, with environment variable and TOML support. The defaultfalsekeeps the dual-stack behavior. Startup fails if the OS refuses it, or when it is combined with an IPv4 host,--fdor--unix-socket. (#829 by @joseluisq)
Changed
- Module dependency cleanup. Moved the request handler options and directory listing formats below the feature modules, so the handler and the modules it calls no longer depend on each other. (#823 by @jaads)
Fixed
- Vary header with CORS. With
--cors-allow-origins,Originis now appended to an existingVaryheader instead of replacing it, so automatic directory listings keepVary: Acceptand shared caches no longer mix up HTML and JSON listings. (#813 by @SAY-5) - HTTPS redirect shutdown on cancel. Stopping SWS through a cancel signal, such as a Windows service stop, now also stops the
--https-redirectlistener. (#820 by @joseluisq) - Tilde names in another Unicode form on macOS. Files with a
~in their name, such ascafé~.txt, no longer return404when requested in another Unicode normalization form on APFS, HFS+ and FAT volumes. (#828 by @joseluisq) - Flaky tests. Fixed timing-dependent failures in the idle timeout, connection limit and log capture tests, and checked that shutdown doesn't restart the idle timeout. (#819, #825, #826, #827 by @joseluisq)
For more details see the v3.0.0-beta.4 milestone and the full changelog v3.0.0-beta.3...v3.0.0-beta.4.