We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl --http3-only https://1.1.1.1/cdn-cgi/trace
sni=off
curl 8.2.1 (x86_64-w64-mingw32) libcurl/8.2.1 OpenSSL/3.1.2 (Schannel) zlib/1.3 brotli/1.1.0 zstd/1.5.5 WinIDN libssh2/1.11.0 nghttp2/1.56.0 ngtcp2/0.19.1 nghttp3/0.15.0
windows
The text was updated successfully, but these errors were encountered:
https://www.rfc-editor.org/rfc/rfc6066#section-3
Literal IPv4 and IPv6 addresses are not permitted in "HostName".
Sorry, something went wrong.
quic: don't set SNI if hostname is an IP address
b070f33
RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName". We already do this for non-QUIC connections. Ref: https://www.rfc-editor.org/rfc/rfc6066#section-3 Fixes curl#11827 Closes curl#11828
d5c562c
84cbafe
We already do this for TLS connections. RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName". Ref: https://www.rfc-editor.org/rfc/rfc6066#section-3 Fixes curl#11827 Closes curl#11828
Successfully merging a pull request may close this issue.
I did this
curl --http3-only https://1.1.1.1/cdn-cgi/trace
I expected the following
sni=off
curl/libcurl version
curl 8.2.1 (x86_64-w64-mingw32) libcurl/8.2.1 OpenSSL/3.1.2 (Schannel) zlib/1.3 brotli/1.1.0 zstd/1.5.5 WinIDN libssh2/1.11.0 nghttp2/1.56.0 ngtcp2/0.19.1 nghttp3/0.15.0
operating system
windows
The text was updated successfully, but these errors were encountered: