Message207056
Just discovered the same fix of manually closing the socket object was already made independently of my patch in the “default” branch! See Issue 12692.
http://hg.python.org/cpython/rev/92656b5df2f2
The main difference is my patch should also close the connection if HTTPConnection.getresponse() fails, which could be of some value. And the regression test could still be useful. |
|
Date |
User |
Action |
Args |
2013-12-28 22:36:02 | martin.panter | set | recipients:
+ martin.panter, barry, orsenthil, pitrou, serhiy.storchaka |
2013-12-28 22:36:02 | martin.panter | set | messageid: <1388270162.76.0.365036260948.issue19524@psf.upfronthosting.co.za> |
2013-12-28 22:36:02 | martin.panter | link | issue19524 messages |
2013-12-28 22:36:02 | martin.panter | create | |
|