New submission from Jason Oster <[email protected]>:

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

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

jay@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 <[email protected]>
<https://bugs.pypy.org/issue1623>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to