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 calvin
Recipients
Date 2004-02-19.23:14:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
In HTTPResponse._read_chunked the chunk length is not
checked to be a valid integer, and a ValueError will be
raised in such a case.
The attached patch catches ValueError (which should not
normally happen, so this try:except: is reasonably
fast), and raises IncompleteRead exception instead.
I have no test case for this yet, but am trying to
construct one :)
History
Date User Action Args
2007-08-23 15:32:25adminlinkissue900744 messages
2007-08-23 15:32:25admincreate