Skip to content

Commit

Permalink
Merge branch 'fix-proxy-bidi' of https://github.com/SidongYang/liburing
Browse files Browse the repository at this point in the history
* 'fix-proxy-bidi' of https://github.com/SidongYang/liburing:
  examples/proxy: Fix for BIDI
  • Loading branch information
axboe committed Feb 18, 2025
2 parents 84c2c64 + 7f00899 commit 3ea0199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ static int __handle_recv(struct io_uring *ring, struct conn *c,
if (recv_done_res(cqe->res))
goto start_close;
if (is_sink || !ocd->pending_send)
__submit_receive(ring, c, &c->cd[0], c->in_fd);
__submit_receive(ring, c, cd, cqe_to_fd(cqe));
}

/*
Expand Down

0 comments on commit 3ea0199

Please sign in to comment.