[New-bugs-announce] [issue21648] urllib urlopener leaves open sockets for FTP connection

Claudiu.Popa report at bugs.python.org
Tue Jun 3 11:03:17 CEST 2014


New submission from Claudiu.Popa:

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.

----------
components: Library (Lib)
files: urllib_ftp_resource_warning.patch
keywords: patch
messages: 219671
nosy: Claudiu.Popa
priority: normal
severity: normal
status: open
title: urllib urlopener leaves open sockets for FTP connection
type: resource usage
versions: Python 3.5
Added file: http://bugs.python.org/file35467/urllib_ftp_resource_warning.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21648>
_______________________________________


More information about the New-bugs-announce mailing list