#60 infinite timeout on proxy connection

open
nobody
None
5
2009-04-15
2009-04-15
bleh
No

Hello,

libgmail is working very well for me, but I am unable to set a timeout for connections, particularly when working with a proxy. If the proxy connection just hangs, there will be no error raised or anything, it'll just try to login forever. I have tried socket.setdefaulttimeout(5) in a bunch of places but am still unable to set the timeout.

I am using python 2.4.

Any help would be appreciated. Thank you.

Discussion