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 elsewhere in the file where readline() is used. It can be fixed in the same way in 2.6. ---------- components: Library (Lib) files: httplib.patch keywords: patch messages: 150383 nosy: luzakiru priority: normal severity: normal status: open title: httplib tunnel infinite loop type: crash versions: Python 2.6, Python 2.7 Added file: http://bugs.python.org/file24113/httplib.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com