fix: raise git http body cap

This commit is contained in:
2026-06-10 06:29:46 +00:00
parent de803e1e76
commit 8ea90adcaf
3 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ from urllib.parse import urlsplit
DEFAULT_PORT = 9420
# Body-size cap matching supervise_server.py's 1 MiB limit.
MAX_BODY_BYTES = 1 * 1024 * 1024
# Bound memory use while still allowing ordinary git push packfiles.
MAX_BODY_BYTES = 100 * 1024 * 1024
class GitHttpHandler(BaseHTTPRequestHandler):