From 757c1117b376f8fb4c351ea64893dac70d5985d9 Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Fri, 16 Jan 2026 18:04:55 +0530 Subject: [PATCH] update default read_buffer_size to 65kb --- config.sample.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.sample.toml b/config.sample.toml index b5ba4127..1f872159 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -21,8 +21,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"