mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
async: fix assync call pop error
This commit is contained in:
@@ -292,7 +292,7 @@ pub fn Connection(comptime Stream: type) type {
|
|||||||
|
|
||||||
if (read_buf_len == 0) {
|
if (read_buf_len == 0) {
|
||||||
// read another buffer
|
// 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..];
|
ctx._tls_read_buf = ctx._tls_read_buf.?[n..];
|
||||||
|
|||||||
Reference in New Issue
Block a user