mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
Merge pull request #268 from lightpanda-io/HttpHeadersOversize
use 64KB for header buffer
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user