Message5443

Author geraldth
Recipients geraldth
Date 2010-01-19.13:49:50
SpamBayes Score 0.00018281766
Marked as misclassified No
Message-id <1263908993.06.0.365724809177.issue1544@psf.upfronthosting.co.za>
In-reply-to
Content
urllib2.urlopen(url) raises an exception on URLs that return HTTP 40x (or 50x) but fails to close the underlying connection. Because the call does not return normally, there is no way for the caller to close the connection himself.

This is a major problem in webspider-applications, as ultimately the system will run out of file descriptors.
History
Date User Action Args
2010-01-19 13:49:53geraldthsetrecipients: + geraldth
2010-01-19 13:49:53geraldthsetmessageid: <1263908993.06.0.365724809177.issue1544@psf.upfronthosting.co.za>
2010-01-19 13:49:52geraldthlinkissue1544 messages
2010-01-19 13:49:50geraldthcreate