Files
Tobias Koch 3174f53b7d libfetch: size the address scratch buffer for full-form IPv6
MAX_ADDRESS_STRING was 4*8+1 = 33 characters, but an IPv6 literal in
full form runs to 45 characters plus the terminator.  host_to_address()
rejects any address that does not fit, so no_proxy CIDR entries
silently failed to match a host written in full form.

Use INET6_ADDRSTRLEN, which is the constant meant for this.

Signed-off-by: Tobias Koch <tobias.koch@aeltra.eu>
2026-08-08 18:31:25 +03:00
..