From 48260712ea2550792553d756e049b5888b03a185 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 28 May 2026 15:53:39 +0530 Subject: [PATCH] fix: Limit peek to 8KB --- gunicorn/workers/gthread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/workers/gthread.py b/gunicorn/workers/gthread.py index f666d4de..ee9c0f0d 100644 --- a/gunicorn/workers/gthread.py +++ b/gunicorn/workers/gthread.py @@ -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: