Skip to content

Commit

Permalink
tls: fix async call
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Nov 18, 2024
1 parent 8380271 commit 6fb2135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls.zig/connection.zig
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ pub fn Connection(comptime Stream: type) type {

if (read_buf_len == 0) {
// read another buffer
c.async_next(ctx.stream(), ctx, onReadv) catch |err| return ctx.pop(err);
return c.async_next(ctx.stream(), ctx, onReadv) catch |err| return ctx.pop(err);
}

ctx._tls_read_buf = ctx._tls_read_buf.?[n..];
Expand Down

0 comments on commit 6fb2135

Please sign in to comment.