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 serhiy.storchaka
Recipients christian.heimes, martin.panter, serhiy.storchaka, xdegaye, zach.ware
Date 2016-12-16.06:28:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481869729.55.0.148907004867.issue28971@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2016-12-16 06:28:49serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, xdegaye, martin.panter, zach.ware
2016-12-16 06:28:49serhiy.storchakasetmessageid: <1481869729.55.0.148907004867.issue28971@psf.upfronthosting.co.za>
2016-12-16 06:28:49serhiy.storchakalinkissue28971 messages
2016-12-16 06:28:49serhiy.storchakacreate