]> granicus.if.org Git - curl/commit
FTP: fix IPv6 host using link-local address
authorDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jan 2015 17:30:01 +0000 (18:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Jan 2015 21:32:37 +0000 (22:32 +0100)
commit9a452ba3a16bb51249e1d1be5a5b6e47a255c064
tree6b029536d4f6b746650a700b4276dc7c25f2f6ff
parent659d252b6f646cc51eb2caae710183330b34a717
FTP: fix IPv6 host using link-local address

... and make sure we can connect the data connection to a host name that
is longer than 48 bytes.

Also simplifies the code somewhat by re-using the original host name
more, as it is likely still in the DNS cache.

Original-Patch-by: Vojtěch Král
Bug: http://curl.haxx.se/bug/view.cgi?id=1468
lib/ftp.c
lib/ftp.h