Skip to content

Commit 820923d

Browse files
committed
Allow large HTTP body
1 parent 0c8eb15 commit 820923d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server.zig

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ pub fn run(allocator: std.mem.Allocator, indexes: *MultiIndex, address: []const
5959
.request = 60,
6060
.keepalive = 300,
6161
},
62+
.request = .{
63+
.max_body_size = 16 * 1024 * 1024,
64+
},
6265
};
6366

6467
var server = try Server.init(allocator, config, &ctx);

0 commit comments

Comments
 (0)