[New-bugs-announce] [issue1348] httplib closes socket, then tries to read from it
Bill Janssen
report at bugs.python.org
Sun Oct 28 02:49:13 CEST 2007
New submission from Bill Janssen:
I can't get urllib.urlopen() to work with SSL, and it seems to be due to
a bug in the re-write of httplib. HTTPConnection.getresponse() is
closing the socket, but then returning a response object holding onto
that closed socket to the caller, who then tries to read from the
(closed) socket. Due to the delayed closing of sockets, this error is
masked, but in SSL, the context is torn down on close, so we see real
failures.
----------
components: Library (Lib)
keywords: py3k
messages: 56870
nosy: janssen
priority: urgent
severity: normal
status: open
title: httplib closes socket, then tries to read from it
type: behavior
versions: Python 3.0
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1348>
__________________________________
More information about the New-bugs-announce
mailing list