Merge pull request #268 from lightpanda-io/HttpHeadersOversize

use 64KB for header buffer
This commit is contained in:
Pierre Tachoire
2024-09-19 15:36:25 +02:00
committed by GitHub

View File

@@ -23,8 +23,8 @@ const user_agent = "Lightpanda.io/1.0";
pub const Loader = struct { pub const Loader = struct {
client: Client, client: Client,
// use 16KB for headers buffer size. // use 64KB for headers buffer size.
server_header_buffer: [1024 * 16]u8 = undefined, server_header_buffer: [1024 * 64]u8 = undefined,
pub const Response = struct { pub const Response = struct {
alloc: std.mem.Allocator, alloc: std.mem.Allocator,