Alexander Shorin
556e4bd74d
Don't resolve AAAA records if there is no dnspython nor IPv6 support
...
If system doesn't has IPv6 support or dnspython package, socket.getaddrinfo
with AF_INET6 flag return weird IP info for requested host, making SleekXMPP
crush with more weird error.
2013-07-29 14:21:46 +04:00
Jake Basile
cc81a0e8da
DRYed up the OSError/socket.gaierror handler.
2013-07-18 13:07:25 -05:00
Jake Basile
262652992d
Caught OSError when querying AAAA records.
2013-07-18 08:25:28 -05:00
Lance Stout
597eb1779c
Fix other instance of inet_pton usage.
2012-12-29 15:17:15 -08:00
Lance Stout
4e12e228cb
Fix tracking service name for DIGEST-MD5
2012-08-10 12:40:28 -07:00
Lance Stout
51fee28bf4
Add a warning log if dnspython is not found for SRV lookup.
...
Closes issue #183
2012-07-16 19:38:50 -07:00
Lance Stout
e86444e5fb
Make the use of IPv6 configurable.
...
Set self.use_ipv6 = False before connecting.
Fixes issue #175
2012-06-20 19:39:24 -07:00
Lance Stout
03dedfc871
Windows doesn't support inet_pton.
2012-05-06 12:17:50 -07:00
Lance Stout
4cd5d3b3b5
Fix DNS resolution results for IP literals.
2012-04-10 14:08:33 -04:00
Lance Stout
51e5aee830
Add default mapping of localhost to ::1 and 127.0.0.1
2012-04-06 15:08:21 -04:00
Lance Stout
c1d36cad46
Add better DNS resolver wrapper.
2012-03-30 10:12:43 -07:00