curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: IPv6 in square brackets in verbose output

From: Timothe Litt <litt_at_acm.org>
Date: Wed, 23 Feb 2022 13:46:15 -0500

On 23-Feb-22 12:55, David Hu via curl-users wrote:
> Please change the IPv6 address format in verbose output from like 2606:4700:4700::1111:443
>
> to [2606:4700:4700::1111]:443
>
> because it distinguishes between address and port better

And it's the standard form for an IPv6 address with port:
https://datatracker.ietf.org/doc/html/rfc5952#section-6

Also:
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.3


Timothe Litt
ACM Distinguished Engineer
--------------------------
This communication may not represent the ACM or my employer's views,
if any, on the matters discussed.



-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-23