fix: Limit peek to 8KB

This commit is contained in:
Ankush Menat 2026-05-28 15:53:39 +05:30
parent ee9bf1e950
commit 48260712ea

View File

@ -32,7 +32,7 @@ from .. import sock
from ..http import wsgi
# how many bytes to peek when classifying a request by its request line
REQUEST_LINE_PEEK = 65536
REQUEST_LINE_PEEK = 8192
class TConn: