homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib urlopener leaves open sockets for FTP connection
Type: resource usage Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Claudiu.Popa, orsenthil
Priority: normal Keywords: patch

Created on 2014年06月03日 09:03 by Claudiu.Popa, last changed 2022年04月11日 14:58 by admin.

Files
File name Uploaded Description Edit
urllib_ftp_resource_warning.patch Claudiu.Popa, 2014年06月03日 09:03 review
Messages (1)
msg219671 - (view) Author: PCManticore (Claudiu.Popa) * (Python triager) Date: 2014年06月03日 09:03
To be precise, when running test_urllib on a machine with a local FTP server, but with a set of credentials different than the ones used by test_urllib.urlopen_HttpTests.test_ftp_nonexisting. In this case, ftpwrapper from urllib.request will succesfully connect to the FTP server, but it will fail when sending the credentials, leaving the connection opened. The attached patch tries to fix this.
History
Date User Action Args
2022年04月11日 14:58:04adminsetgithub: 65847
2014年06月03日 12:36:53orsenthilsetnosy: + orsenthil
2014年06月03日 09:03:17Claudiu.Popacreate

AltStyle によって変換されたページ (->オリジナル) /