Skip to content

Commit

Permalink
Note new interaction between max_body_size and lazy_read_size
Browse files Browse the repository at this point in the history
  • Loading branch information
karlseguin committed Jan 4, 2025
1 parent 3358ea7 commit 461ed22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ try httpz.listen(allocator, &router, .{
// When set, if request body is larger than this value, the body won't be
// eagerly read. The application can use `req.reader()` to create a reader
// to read the body. Prevents loading large bodies completely in memory.
// It makes no sense to set this > `max_body_size`.
// When set, max_body_size is ignored.
.lazy_read_size: ?usize = null,
// This memory is allocated upfront. The request header _must_ fit into
Expand Down

0 comments on commit 461ed22

Please sign in to comment.