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: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 16 Oct 2014 22:30:11 +0000

- **status**: open --> pending-invalid
- **assigned_to**: Daniel Stenberg
- **Comment**:

Thanks for your report.

We've fixed several IPv6-related issues since that almost 5 years old version. Please try a recent version and if the problem still remains, let us know.

---
** [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 03:11 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.