Skip to content

When will IORING_CQE_F_MORE not be set while using multishot-accept? #822

Answered by axboe
chimaoshu asked this question in Q&A
Discussion options

You must be logged in to vote

It will remain set until an error has occurred accepting a connection. accept doesn't know if nobody else is trying to connect yet, that's a situation that could change at any point in time. Like any multishot request, it'll remain active until ones of these are true:

  1. An error happens while accepting a connection
  2. It's actively canceled by the application

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by chimaoshu
Comment options

You must be logged in to vote
5 replies
@axboe
Comment options

@axboe
Comment options

@chimaoshu
Comment options

@axboe
Comment options

@axboe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants