diff options
Diffstat (limited to 'src/http_client_async.zig')
-rw-r--r-- | src/http_client_async.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index f8645da7e..ba2210867 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -1156,7 +1156,7 @@ pub fn onEnd( return; } } - client.closeAndFail(error.ConnectionClosed); + client.fail(error.ConnectionClosed); } pub inline fn getAllocator() std.mem.Allocator { |