[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Gen Xu added the comment: Looks like it is caused by the httplib not limiting total header size after receiving 100. Added a counter for that to be same size as _MAXLINE=65536. -- versions: -Python 3.7 ___ Python tracker <https://bugs.python.

[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Gen Xu added the comment: Added a possible PR. Review will be appreicated. -- ___ Python tracker <https://bugs.python.org/issue44022> ___ ___ Python-bugs-list m

[issue44022] "urllib" will result to deny of service

2021-05-05 Thread Gen Xu
Change by Gen Xu : -- keywords: +patch nosy: +gen-xu nosy_count: 1.0 -> 2.0 pull_requests: +24585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25916 ___ Python tracker <https://bugs.python.org/i