diff options
| author | Igor Anić <igor.anic@gmail.com> | 2023-11-05 17:15:57 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-11-06 00:12:39 +0200 |
| commit | bec36aa7c028f2eaec94a2358f3e1326fcb9a30c (patch) | |
| tree | 1479747e3b8738f63edc69ec66f459fd2f993c62 /src | |
| parent | e9a6197a8ea38c228e2683d82cfbdbad8e7d912a (diff) | |
| download | zig-bec36aa7c028f2eaec94a2358f3e1326fcb9a30c.tar.gz zig-bec36aa7c028f2eaec94a2358f3e1326fcb9a30c.zip | |
io_uring: add multishot accept operation
Server networking application typically accept multiple connections. Multishot
accept simplifies handling these situations. Applications submits once and
receives CQE whenever a new connection request comes in.
Multishot is active until it is canceled or experience error. While active, and
further notification are expected CQE completion will have IORING_CQE_F_MORE set
in the flags. If this flag isn't set, the application must re-arm this request
by submitting a new one.
Reference: [io_uring and networking in 2023](https://github.com/axboe/liburing/wiki/io_uring-and-networking-in-2023#multi-shot)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
