Message207818
I see, in python 2.7, in SocketServer.py the TCPServer implementation is hard-coded to use ipv4, can not handle IPv6 case. it hard-coded set address_family as socket.AF_INET. so when binding IPv6 host, it will throw "gaierror: [Errno -9] Address family for hostname not supported".
The code should to judge the provided host is IPv4 or IPv6, and base on the host type to set address_family as socket.AF_INET or socket.AF_INET6 |
|
Date |
User |
Action |
Args |
2014-01-10 02:03:02 | dazhaoyu | set | recipients:
+ dazhaoyu |
2014-01-10 02:03:02 | dazhaoyu | set | messageid: <1389319382.42.0.481013787618.issue20215@psf.upfronthosting.co.za> |
2014-01-10 02:03:02 | dazhaoyu | link | issue20215 messages |
2014-01-10 02:03:01 | dazhaoyu | create | |
|