Christian Heimes added the comment: A larger limit is totally fine. The check protects against DoS with hundreds of MB.
I'm currently travelling and won't be available much until next week. Am 16. Dezember 2016 19:37:03 MEZ, schrieb Xiang Zhang <rep...@bugs.python.org>: > >Xiang Zhang added the comment: > >Xavier's plan sounds good. We could increase the line length limitation >to 64K and add another limitation of the maximum lines a multi-line >block could contain. Any limitation is violated the connection is >refused. This situation seems quite similar to >http.client.parse_headers, which doesn't get a standard length >limitation or number limitation either. > >---------- >nosy: +xiang.zhang > >_______________________________________ >Python tracker <rep...@bugs.python.org> ><http://bugs.python.org/issue28971> >_______________________________________ ---------- _______________________________________ 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