[pypy-issue] [issue1623] httplib.HTTPSConnection leaks FDs

Jason Oster tracker at bugs.pypy.org
Thu Oct 17 06:23:32 CEST 2013


Jason Oster <jay at kodewerx.org> added the comment:

And, here's a workaround:

fd = response.fileno()
data = response.read()
os.close(fd)

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1623>
________________________________________


More information about the pypy-issue mailing list