[issue14562] urllib2 maybe blocks too long with small chunks

2020-05-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue14562] urllib2 maybe blocks too long with small chunks

2020-05-27 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue14562] urllib2 maybe blocks too long with small chunks

2016-06-16 Thread Martin Panter
Changes by Martin Panter : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue14562] urllib2 maybe blocks too long with small chunks

2015-03-24 Thread Martin Panter
Martin Panter added the comment: I can reproduce this with Python 2, but not with current Python 3, nor with v3.3.3. Probably doesn’t affect 3.2 either, but I haven’t tried. -- nosy: +vadmium versions: -Python 3.3 ___ Python tracker

[issue14562] urllib2 maybe blocks too long with small chunks

2012-07-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: I had a discussion with Anrs on this, and it went along these lines - I confused the buffering issue (encountered with streaming data) of urllib2 with chunked transfer encoding. The flow will be blocked in the case at the socket level waiting for 8192 byte

[issue14562] urllib2 maybe blocks too long with small chunks

2012-04-15 Thread Qiangning Hong
Changes by Qiangning Hong : -- nosy: +hongqn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14562] urllib2 maybe blocks too long with small chunks

2012-04-13 Thread Anrs Hu
Anrs Hu added the comment: Okay, there's a test case of web.py: Server codes are following: import web class index(object): def GET(self): yield 'hello\n' yield 'world\n' time.sleep(60) client is Python interpreter >>> resp = urllib.urlopen(URL) >>> resp.readline()

[issue14562] urllib2 maybe blocks too long with small chunks

2012-04-13 Thread Jim Jewett
Changes by Jim Jewett : -- title: urllib2 maybe blocks too long -> urllib2 maybe blocks too long with small chunks ___ Python tracker ___ ___

[issue14562] urllib2 maybe blocks too long

2012-04-13 Thread Jim Jewett
Jim Jewett added the comment: It would be helpful to have a testcase, so that it will stay fixed. -- nosy: +Jim.Jewett ___ Python tracker ___ ___

[issue14562] urllib2 maybe blocks too long

2012-04-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am trying to this test this to determine the fault. -- assignee: -> orsenthil nosy: +orsenthil versions: +Python 3.2, Python 3.3 ___ Python tracker ___

[issue14562] urllib2 maybe blocks too long

2012-04-12 Thread Anrs Hu
New submission from Anrs Hu : If HTTP URL response's Transfer-Encoding is 'Chunked', then the urllib2.urlopen(URL).readline() will block until there're enough 8192 bytes, even though the first chunk is just a line. Every chunks should be processed as soon as posible, so the readline() behavio