[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2020-03-27 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fixes at least some of the issues." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owne

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2020-03-27 Thread Alberto Donato
This is still an issue in 17.9.0-2ubuntu0.1 in bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604608 Title: ipv6 client causes errors in twisted.web To manage notifications about this bug go

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-10-21 Thread Free Ekanayaka
Is this issue still there in 16.4.1? Has it been reported upstream? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604608 Title: ipv6 client causes errors in twisted.web To manage notifications abo

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-07-29 Thread LaMont Jones
What is not addressed by this patch is that twisted assumes that if it is given a hostname, then the user clearly means IPv4. The web client setup is not in the correct order, it should be: 1) resolve the hostname 2) iterate through the available IP addresses (probably preferring ipv6, like the

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-07-29 Thread LaMont Jones
With this patch, twisted behaves as expected when given an IPv6 IP address in the standard URL format: scheme://[ip:v6::add:ress]:port/path (port being optional, of course) ** Patch added: "Patch that has twisted use the standard scheme://[ip:v6::add:ress]:port/path syntax for URL" https://bu

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-07-26 Thread LaMont Jones
investigating this more, twisted's handling of ipv6 is fundamentally broken in some bad ways: 1) it allows "2001:db8::1:80" as an IP/Port combination, deciding that what you meant is [2001:db8::1]:80, rather than the default port on 2001:db8::1:80. 2001:db8::1:7f, on the other hand, means "defa

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-07-25 Thread LaMont Jones
getRequestHostname() has similar problems, which this addresses: def new_getRequestHostname(self): host = self.getHeader(b'host') if host: if host.startswith(b'['): if host.find(b']') < host.rfind(b':'): return host[:host.rfind(b'

[Bug 1604608] Re: ipv6 client causes errors in twisted.web

2016-07-19 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604608 Title: ipv6 client causes errors in twisted.web To manage notifications about this bug go to: https://bugs.launchpad.net/u