Message99696
On Sun, Feb 21, 2010 at 5:38 PM, Robert Buchholz <report@bugs.python.org> wrote:
>
> Robert Buchholz <rbu@freitagsrunde.org> added the comment:
>
> almost... HTTPConnection is calling close() on the socket object, but HTTPResponse still has an open file-like object from a previous makefile() call. That object still has an internal reference to the socket.
That's right. The makefile() method on sockets works that way, and
the HTTP library depends on that behavior (and pretty much always
has).
Jeremy
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue7806>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2010-02-21 22:56:37 | jhylton | set | recipients:
+ jhylton, r.david.murray, sijinjoseph, Robert.Buchholz |
2010-02-21 22:56:36 | jhylton | link | issue7806 messages |
2010-02-21 22:56:36 | jhylton | create | |
|