cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1435 Bug: ipv6 address resolving problems of curl 7.19.7

From: Jarvis Zhang <jarviszhang_at_users.sf.net>
Date: Fri, 17 Oct 2014 02:25:08 +0000

The latest version 7.38.0 works well!

Thanks for your help.

---
** [bugs:#1435] Bug: ipv6 address resolving problems of curl 7.19.7**
**Status:** pending-invalid
**Labels:** ipv6 
**Created:** Thu Oct 16, 2014 03:11 PM UTC by Jarvis Zhang
**Last Updated:** Thu Oct 16, 2014 10:30 PM UTC
**Owner:** Daniel Stenberg
Hi,
If the last period of ipv6 address is a number, this period will be cut and curl will resovle a wrong ipv6 address. For example:
[zwzhang@JSI-iDPL02 ~]$ curl -6 ftp://2001:da8:203:eb4:201:6cff:fe51:7313/upload/zwtest/data.0 -o ./data.0 -u user:passwd
curl: (6) Couldn't resolve host '2001:da8:203:eb4:201:6cff:fe51'
So is the http protocol. Adding the port after the address will work, but this problem is really confusing.
[zwzhang@JSI-iDPL02 ~]$ curl -6 ftp://2001:da8:203:eb4:201:6cff:fe51:7313:21/upload/zwtest/data.0 -o ./data.0 -u user:passwd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  100M  100  100M    0     0  5362k      0  0:00:19  0:00:19 --:--:-- 8317k
Thanks,
Jarvis Zhang
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-10-17

These mail archives are generated by hypermail.