11# NEWS
22
3- unreleased
4- ----------
3+ 4.7.3 - 2026-08-11
4+ ------------------
55
66### Fixed
77
8+ - Reusing a pooled HTTP/2 or HTTP/3 connection no longer crashes the caller of
9+ ` hackney:connect/4 ` when the pooled connection terminates during the checkout
10+ liveness probe. The ` get_state ` probe is guarded so a terminating connection
11+ falls through to a fresh one (#914 ).
12+ - ` hackney_url:normalize/2 ` now rejects a host that reaches an IP literal only
13+ after IDNA folds the Unicode full-stop variants (U+3002/U+FF0E/U+FF61) to
14+ ASCII dots (for example ` 127。0。0。1 ` becoming ` 127.0.0.1 ` ), closing a bypass
15+ of the percent-encoded-IP check.
16+ - The CONNECT proxy handshake rejects CR/LF/NUL in the target host instead of
17+ concatenating it into the request line and ` Host ` header.
18+ - The pooled HTTPS upgrade bounds the TLS handshake with ` connect_timeout `
19+ (` ssl:connect/3 ` ), so a server that stalls the handshake no longer pins the
20+ connection process and its pool slot (#916 ).
21+ - The streaming request path sanitizes header values (CR/LF) like the buffered
22+ path, and the request method is validated (CR/LF/NUL) at every entry point,
23+ not just the request target.
824- A response body cut short by the peer closing mid-transfer no longer leaks
925 the connection process. ` read_full_body/2 ` hands back ` socket = undefined ` ,
1026 so the connection went straight to ` closed ` and never reached the reuse
@@ -19,6 +35,13 @@ unreleased
1935 ` noproc ` when the connection has already stopped, which would otherwise
2036 propagate out of ` hackney:request/5 ` on the redirect path.
2137
38+ ### Changed
39+
40+ - Like curl, an empty body on a body-bearing method (POST/PUT/PATCH) now sends
41+ ` Content-Length: 0 ` ; bodyless methods (GET/HEAD/DELETE) are unchanged (#917 ).
42+ - Update dependencies to their latest releases: ` quic ` 1.8.0, ` webtransport `
43+ 0.4.4, ` mimerl ` 1.5.0, and ` cowboy ` 2.18.0 for the test suite.
44+
22454.7.2 - 2026-07-17
2346------------------
2447
0 commit comments