aboutsummaryrefslogtreecommitdiff
path: root/src/http/async_message.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-02 18:07:05 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-02 18:07:05 -0800
commit1a4ccd3f5c2ef273bd5307d9c8939177bdc310cc (patch)
tree1b1634fa2d1450b87846de1d1dc572ba44d1f333 /src/http/async_message.zig
parent68cb6130d3e4bd25a53c959db9108a68f5268298 (diff)
downloadbun-1a4ccd3f5c2ef273bd5307d9c8939177bdc310cc.tar.gz
bun-1a4ccd3f5c2ef273bd5307d9c8939177bdc310cc.tar.zst
bun-1a4ccd3f5c2ef273bd5307d9c8939177bdc310cc.zip
[http] Fixes to chunked transfer encoding readerjarred/async_bio
Diffstat (limited to 'src/http/async_message.zig')
-rw-r--r--src/http/async_message.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/async_message.zig b/src/http/async_message.zig
index 5fce3488b..3e204455f 100644
--- a/src/http/async_message.zig
+++ b/src/http/async_message.zig
@@ -2,7 +2,7 @@ const std = @import("std");
const ObjectPool = @import("../pool.zig").ObjectPool;
const AsyncIO = @import("io");
-pub const buffer_pool_len = std.math.maxInt(u16) - 64;
+pub const buffer_pool_len = std.math.maxInt(u16);
pub const BufferPoolBytes = [buffer_pool_len]u8;
pub const BufferPool = ObjectPool(BufferPoolBytes, null, false, 4);