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 luzakiru
Recipients luzakiru
Date 2011-12-30.15:56:25
SpamBayes Score 0.0046245
Marked as misclassified No
Message-id <1325260587.05.0.642107056326.issue13684@psf.upfronthosting.co.za>
In-reply-to
Content
readline() can return ''. This is handled in most places in httplib but not when a tunnel is used. It leads to a infinite loop that permanently blocks the program while wasting CPU cycles.

For the patch I simply copied the fix that is used elsewhere in the file where readline() is used. It can be fixed in the same way in 2.6.
History
Date User Action Args
2011-12-30 15:56:27luzakirusetrecipients: + luzakiru
2011-12-30 15:56:27luzakirusetmessageid: <1325260587.05.0.642107056326.issue13684@psf.upfronthosting.co.za>
2011-12-30 15:56:26luzakirulinkissue13684 messages
2011-12-30 15:56:26luzakirucreate