[Python-Dev] Time-out in URL Open (original) (raw)
Facundo Batista facundobatista at gmail.com
Tue Jul 4 17:43:35 CEST 2006
- Previous message: [Python-Dev] Time-out in URL Open
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/7/3, Guido van Rossum <guido at python.org>:
To fake things like this, socket.setdefaulttimeout() was added, though I don't know if it actually works. Have you tried that?
This affect all the sockets. And I hit the problem when servicing information with a web service (TCPServer), and I need to timeout the connection of the URLOpen only.
Regards,
-- . Facundo
Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
- Previous message: [Python-Dev] Time-out in URL Open
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]