You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For something like io_uring_prep_read or io_uring_prep_connect, timeouts can easily be added by simply linking the SQE with the result of io_uring_prep_link_timeout.
However, I'm not clear how this works with multishot recv().
If a TCP session is using the multishot recv(), what's the recommended way application devs should handle timeouts? Do we maintain something like a multishot timer alongside the recv() and then just check for activity on every interval?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For something like
io_uring_prep_read
orio_uring_prep_connect
, timeouts can easily be added by simply linking the SQE with the result ofio_uring_prep_link_timeout
.However, I'm not clear how this works with multishot recv().
If a TCP session is using the multishot recv(), what's the recommended way application devs should handle timeouts? Do we maintain something like a multishot timer alongside the recv() and then just check for activity on every interval?
Beta Was this translation helpful? Give feedback.
All reactions