[issue13684] httplib tunnel infinite loop

2012-04-17 Thread luzakiru
luzakiru visco...@inbox.com added the comment: Although perhaps not optimal, the patch is consistent with the rest of the code and fixes the reasonably severe issue. Could this patch be applied in lieu of a better one that can come later

[issue13684] httplib tunnel infinite loop

2011-12-30 Thread luzakiru
New submission from luzakiru visco...@inbox.com: 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