io_uring-echo-server
io_uring-echo-server copied to clipboard
Fix failed reads returning a buffer they never got
When a read fails, it is not allocated a buffer and the BID is set to 0, before this fix, this causes the program to return buffer 0 to the available buffers and can cause multiple future SQEs to get the same buffer 0.
Fixes #23