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: urllib2.urlopen() timeout argument ignored after redirect
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: orsenthil Nosy List: gthaler, orsenthil
Priority: normal Keywords:

Created on 2009-10-13 14:19 by gthaler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg93922 - (view) Author: Gerald Thaler (gthaler) Date: 2009-10-13 14:19
When a HTTP request done with urllib2.urlopen() gets redirected, the 
second request will ignore the given timeout value and may hang 
indefinitely.
msg93926 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2009-10-13 15:49
Can you mention the python --version in which you encountered this issue?
And piece of code which loops indefinitely? 

The propagation of timeout to redirects has been fixed with Issue5102.
msg95839 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2009-11-30 16:32
The timeout propagation fixed with Issue5102.
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51367
2009-11-30 16:32:36orsenthilsetstatus: open -> closed
2009-11-30 16:32:23orsenthilsetresolution: duplicate
messages: + msg95839
2009-10-13 15:49:48orsenthilsetassignee: orsenthil

messages: + msg93926
nosy: + orsenthil
2009-10-13 14:19:46gthalercreate