homepage

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.

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:10Anrs.Husetrecipients: + Anrs.Hu
2012年04月12日 12:23:10Anrs.Husetmessageid: <1334233390.52.0.591380103695.issue14562@psf.upfronthosting.co.za>
2012年04月12日 12:23:09Anrs.Hulinkissue14562 messages
2012年04月12日 12:23:09Anrs.Hucreate

AltStyle によって変換されたページ (->オリジナル) /