Skip to content

Commit

Permalink
Allow large HTTP body
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 7, 2024
1 parent 0c8eb15 commit 820923d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ pub fn run(allocator: std.mem.Allocator, indexes: *MultiIndex, address: []const
.request = 60,
.keepalive = 300,
},
.request = .{
.max_body_size = 16 * 1024 * 1024,
},
};

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

0 comments on commit 820923d

Please sign in to comment.