RFC 2732 obsoleted by RFC 3986

master
Stephane Bortzmeyer 17 years ago
parent bc5c0b1ad6
commit c93c8881a1

@ -49,7 +49,7 @@ to use it (carefully) to measure Web performances.
.SH ARGUMENT
.IP hostname[:port]
Name (or address) of the server to test. For HTTP, you can specify a
port number. For HTTP and IPv6, you can use RFC 2732 syntax (you will
port number. For HTTP and IPv6, you can use RFC 3986 syntax (you will
probably need to escape the brackets from the shell). The name can be
an IDN (Unicode domain name).

@ -593,7 +593,7 @@ main(argc, argv)
if (http || icp) {
char *text_port = NULL;
if (*server == '[') { /* RFC 2732 */
if (*server == '[') { /* RFC 3986, section 3.2.2 */
server++;
for (p = server; *p && *p != ']'; p++) {
}

@ -10,7 +10,7 @@ echo " echoping's fault: it may be a network problem."
./echoping -6 -h / -v www.afnic.fr
./echoping -6 -v -R -h / "[2001:4f8:0:2::d]:80" # RFC 2732
./echoping -6 -v -R -h / "[2001:4f8:0:2::d]:80" # RFC 3986, section 3.2.2
# We force the use of IPv6 with -6 because some libc (Solaris) are
# smart enough to send only the IPv4 adresses to the application if

Loading…
Cancel
Save