Message158124
| Author |
Anrs.Hu |
| Recipients |
Anrs.Hu |
| Date |
2012年04月12日.12:23:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334233390.52.0.591380103695.issue14562@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|