[New-bugs-announce] [issue11199] urllib hangs when closing connection

rg3 report at bugs.python.org
Sat Feb 12 14:00:05 CET 2011

New submission from rg3 <sarbalap+freshmeat at gmail.com>:

If you run the attached program, you can see the program hangs in the connection close stage. Uncommenting the sleep line makes the program work, so I suspect some kind of race condition.

The URL used belongs to a Slackware Linux mirror. I have not been able to reproduce this problem when using a different FTP mirror or using HTTP mirrors. 

The remote server seems to be using pure-ftpd. I have built the software and tested on localhost, but I could not reproduce the problem either.

components: Extension Modules
files: test.py
messages: 128444
nosy: rg3
priority: normal
severity: normal
status: open
title: urllib hangs when closing connection
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file20750/test.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list