[New-bugs-announce] [issue11199] urllib hangs when closing connection
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
title: urllib hangs when closing connection
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