diff options
-rw-r--r-- | src/http/async_bio.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/async_bio.zig b/src/http/async_bio.zig index 3ee88fdbd..b9a926795 100644 --- a/src/http/async_bio.zig +++ b/src/http/async_bio.zig @@ -263,7 +263,7 @@ pub const Bio = struct { const len = @intCast(u32, len_); if (this.socket_fd == 0) { - if (comptime Environment.allow_assert) std.debug.assert(false); // socket_fd should never be 0 + if (comptime Environment.allow_assert) std.debug.assert(this_bio.shutdown > 0); // socket_fd should never be 0 return -1; } |