[EMAIL PROTECTED] writes: > >> I believe this can only be set globally: > >> > >> import socket > >> socket.setdefaulttimeout(seconds) > > Stefan> Uuuh this is no solution for me, because the website-checking > Stefan> tool is part of a very very big application running in an > Stefan> application server, so globally setting the timeout may break a > Stefan> lot of other things... > > Can you try this patch: > > http://python.org/sf/723312 > > ? It's against current CVS. Also, it doesn't include urllib or urllib2 > changes, just httplib. Getting this completed would be nice.
Great. Added some comments, will try to write tests and urllib2 patch later. John -- http://mail.python.org/mailman/listinfo/python-list