New submission from rg3 <sarbalap+freshm...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11199>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to