diff options
author | 2022-10-16 17:03:17 -0700 | |
---|---|---|
committer | 2022-10-16 17:03:17 -0700 | |
commit | 07a2f80cbcd7cfbc6588fe98bdbcc0d4c573b375 (patch) | |
tree | 2c6b1886f01c61329415891d74e47101c2df4237 /src | |
parent | 2888f43c8acf2379a54f79f92dd67b017718efb0 (diff) | |
download | bun-07a2f80cbcd7cfbc6588fe98bdbcc0d4c573b375.tar.gz bun-07a2f80cbcd7cfbc6588fe98bdbcc0d4c573b375.tar.zst bun-07a2f80cbcd7cfbc6588fe98bdbcc0d4c573b375.zip |
Add a comment
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/webcore/streams.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig index 49c94967d..827bc25bf 100644 --- a/src/bun.js/webcore/streams.zig +++ b/src/bun.js/webcore/streams.zig @@ -2474,6 +2474,7 @@ pub fn HTTPServerWritable(comptime ssl: bool) type { this.buffer = bun.ByteList.init(""); ByteListPool.push(this.allocator, buffer); } else { + // Don't release this buffer until destroy() is called this.buffer.len = 0; } } |