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

Jason Oster tracker at bugs.pypy.org
Thu Oct 17 06:12:35 CEST 2013


New submission from Jason Oster <jay at kodewerx.org>:

See also: https://bugs.pypy.org/issue867

When running the test case with PyPy 2.1, I get the following output:

jay at localhost:~$ pypy urllib2-leaks.py
total 0
lrwx------ 1 jay jay 64 Oct 16 21:08 0 -> /dev/pts/10
lrwx------ 1 jay jay 64 Oct 16 21:08 1 -> /dev/pts/10
lrwx------ 1 jay jay 64 Oct 16 21:08 2 -> /dev/pts/10
total 0
lrwx------ 1 jay jay 64 Oct 16 21:08 0 -> /dev/pts/10
lrwx------ 1 jay jay 64 Oct 16 21:08 1 -> /dev/pts/10
lrwx------ 1 jay jay 64 Oct 16 21:08 2 -> /dev/pts/10
lrwx------ 1 jay jay 64 Oct 16 21:08 3 -> socket:[75747073]

Changing the conn variable to httplib.HTTPConnection shows the bug only exists 
with HTTPS.

----------
files: httplib-leaks.py
messages: 6275
nosy: parasyte, pypy-issue
priority: bug
release: 2.1
status: unread
title: httplib.HTTPSConnection leaks FDs

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


More information about the pypy-issue mailing list