Fix "address already in use" in test example, begin client read loop

This commit is contained in:
Vitaliy Filippov
2019-12-13 14:05:15 +03:00
parent 6239f6748a
commit 283d03ef18
3 changed files with 103 additions and 26 deletions
+1
View File
@@ -127,6 +127,7 @@ public:
~ring_loop_t();
inline struct io_uring_sqe* get_sqe()
{
// FIXME: Limit inflight ops count to not overflow the completion ring
struct io_uring_sqe* sqe = io_uring_get_sqe(&ring);
if (sqe)
{