Message30653
Confirmed. The cause is the (ab)use of socket._fileobject by urllib2.AbstractHTTPHandler to provide .readline() and .readlines() methods. _fileobject simply does not close the socket on _fileobject.close() (since in the original intended use of _fileobject, _socketobject "owns" the socket, and _fileobject only has a reference to it). The bug was introduced with the upgrade to HTTP/1.1 in revision 36871.
The patch here fixes it:
http://python.org/sf/1627441
|
|
Date |
User |
Action |
Args |
2007-08-23 14:50:13 | admin | link | issue1601399 messages |
2007-08-23 14:50:13 | admin | create | |
|