This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asandvig
Recipients asandvig
Date 2010-08-19.11:46:37
SpamBayes Score 1.260418e-08
Marked as misclassified No
Message-id <1282218399.62.0.132359346008.issue9641@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-08-19 11:46:39asandvigsetrecipients: + asandvig
2010-08-19 11:46:39asandvigsetmessageid: <1282218399.62.0.132359346008.issue9641@psf.upfronthosting.co.za>
2010-08-19 11:46:37asandviglinkissue9641 messages
2010-08-19 11:46:37asandvigcreate