Message114347
The best (and simplest) solution seems to be option 2).
Affected methods are found to be HTTPConnection.connect() and
HTTPSConnection.connect() in Lib/httplib.py (Lib/http/client.py for 3.x) and
FTP.connect() and FTP.ntransfercmd() in Lib/ftplib.py.
It appears the issue can be fixed by simply adding a call to settimeout() on
socket objects returned by socket.create_connection(), but this should of course
be verified by appropriate tests. |
|
Date |
User |
Action |
Args |
2010-08-19 11:46:39 | asandvig | set | recipients:
+ asandvig |
2010-08-19 11:46:39 | asandvig | set | messageid: <1282218399.62.0.132359346008.issue9641@psf.upfronthosting.co.za> |
2010-08-19 11:46:37 | asandvig | link | issue9641 messages |
2010-08-19 11:46:37 | asandvig | create | |
|