From 45a689774ca496454ff6dcde6ad6998361c8ca8e Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Mon, 20 Mar 2023 00:09:13 -0300 Subject: [PATCH] remove unnecessary check (#2432) --- src/bun.js/webcore/streams.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig index 6aead6952b2c68..c39f73603b5937 100644 --- a/src/bun.js/webcore/streams.zig +++ b/src/bun.js/webcore/streams.zig @@ -2356,9 +2356,6 @@ pub fn HTTPServerWritable(comptime ssl: bool) type { } fn send(this: *@This(), buf: []const u8) bool { - // send is a no-op when already aborted - if (this.aborted) return false; - std.debug.assert(!this.done); defer log("send: {d} bytes (backpressure: {any})", .{ buf.len, this.has_backpressure });