Message114363
socket.create_connection() does in fact set the timeout of the resulting socket object, so the issue is not an issue after all.
The problems I experienced was a result of sending the timeout as the third parameter to the HTTPConnection() constructor instead of a named parameter, i.e.:
con = httplib.HTTPConnection(hostname, port, timeout)
should have been:
con = httplib.HTTPConnection(hostname, port, timeout=timeout) |
|
Date |
User |
Action |
Args |
2010-08-19 13:52:26 | asandvig | set | recipients:
+ asandvig |
2010-08-19 13:52:26 | asandvig | set | messageid: <1282225946.17.0.612948845657.issue9641@psf.upfronthosting.co.za> |
2010-08-19 13:52:24 | asandvig | link | issue9641 messages |
2010-08-19 13:52:23 | asandvig | create | |
|