Martin Panter added the comment:

The Issue 12692 fix has been backported to the 3.3 branch, and it fixes this 
bug. However here is an updated patch (against revision 28337a8fb502 in the 
“3.3” branch) consisting of two left over bits you might still want to use:

1. My test case

2. Explicitly closing the HTTP connection when an invalid response is received. 
E.g. urlopen("http://google.com:443";) would still leak the connection without 
this.

----------
Added file: http://bugs.python.org/file33319/test+except-close.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to