Merge pull request #226 from abhinavxd/fix/max-header-size

update default read_buffer_size to 65kb
This commit is contained in:
Abhinav Raut
2026-01-16 18:05:22 +05:30
committed by GitHub
+2 -2
View File
@@ -23,8 +23,8 @@ write_timeout = "5s"
# Maximum request body size in bytes (100MB)
# If you are using proxy, you may need to configure them to allow larger request bodies.
max_body_size = 104857600
# Size of the read buffer for incoming requests
read_buffer_size = 4096
# Size of the read buffer for incoming requests (also limits max header size).
read_buffer_size = 65536
# Keepalive settings.
keepalive_timeout = "10s"