Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31499

Re: bad httplib latency due to IPv6 use

From Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com>
Newsgroups comp.lang.python
Subject Re: bad httplib latency due to IPv6 use
Date 2012-10-17 14:40 +0200
Message-ID <eil2l9-nhm.ln1@satorlaser.homedns.org> (permalink)
References <1s42l9-9al.ln1@satorlaser.homedns.org>

Show all headers | View raw


Some updates on the issue:

The etc/hosts file contains the following lines:

# localhost name resolution is handled within DNS itself.
#       127.0.0.1       localhost
#       ::1             localhost

As I understand it, those effectively mean that localhost is not 
resolved via this hosts file but "within DNS itself", whatever that 
exactly means.


Concerning the question whether ping works, the result is that "ping 
localhost" works and that it uses the IPv6 (sic!) address. I also tried 
"ping ::1" and "ping 127.0.0.1" and both work. Weird, as ipconfig 
doesn't list any IPv6 addresses.


Concerning the question whether a firewall blocks and unnecessarily 
delays connection attempts to ::1, I haven't determined that yet. I'll 
ask our admins here to verify whether that is the case.


Lastly, I tried the same using Python 3.2.3/64bit (the other was 
actually the 32-bit version), and the same issues are there. In summary, 
I guess that it's a problem with the IP configuration not one in 
Python's or my code.

Sorry for the noise...

Uli

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

bad httplib latency due to IPv6 use Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-10-17 09:55 +0200
  Re: bad httplib latency due to IPv6 use Hans Mulder <hansmu@xs4all.nl> - 2012-10-17 11:37 +0200
    Re: bad httplib latency due to IPv6 use Chris Angelico <rosuav@gmail.com> - 2012-10-17 20:44 +1100
    Re: bad httplib latency due to IPv6 use Laszlo Nagy <gandalf@shopzeus.com> - 2012-10-17 11:58 +0200
  Re: bad httplib latency due to IPv6 use Roy Smith <roy@panix.com> - 2012-10-17 08:17 -0400
  Re: bad httplib latency due to IPv6 use Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-10-17 14:40 +0200
    Re: bad httplib latency due to IPv6 use Chris Angelico <rosuav@gmail.com> - 2012-10-18 00:32 +1100
    Re: bad httplib latency due to IPv6 use Roy Smith <roy@panix.com> - 2012-10-17 20:28 -0400
      Re: bad httplib latency due to IPv6 use Chris Angelico <rosuav@gmail.com> - 2012-10-18 14:42 +1100

csiph-web