Message283367
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? |
|
Date |
User |
Action |
Args |
2016-12-16 06:28:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, christian.heimes, xdegaye, martin.panter, zach.ware |
2016-12-16 06:28:49 | serhiy.storchaka | set | messageid: <1481869729.55.0.148907004867.issue28971@psf.upfronthosting.co.za> |
2016-12-16 06:28:49 | serhiy.storchaka | link | issue28971 messages |
2016-12-16 06:28:49 | serhiy.storchaka | create | |
|