Message158124
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() behavior should read a line and return immediately, rather than read 8K data to buffer and look up a line from the buffer. |
|
Date |
User |
Action |
Args |
2012-04-12 12:23:10 | Anrs.Hu | set | recipients:
+ Anrs.Hu |
2012-04-12 12:23:10 | Anrs.Hu | set | messageid: <1334233390.52.0.591380103695.issue14562@psf.upfronthosting.co.za> |
2012-04-12 12:23:09 | Anrs.Hu | link | issue14562 messages |
2012-04-12 12:23:09 | Anrs.Hu | create | |
|