Serhiy Storchaka added the comment:

The limit to readline() was added to prevent consuming an excessive amount of 
memory. But this doesn't help in case of long multiline responses, since all 
lines are accumulated in a list in memory. A malicious server could cause a 
client consuming an excessive amount of memory by sending large number of short 
lines instead of one long line.

Christian, what are you think about this?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28971>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to