News for hackers. Stuff that matters.
Re:Async Rust is not safe with io_uring by gpderetta on Wednesday October 30, 2024 @11:56AM (#41996575)
> Worth noting that linux (presumably as an optimisation) accepts connections before you call accept anyway so maybe this entire point is moot and we just have to live with this weird behaviour.

listen(2) takes a backlog parameter that is the number of queued (which I think it means ack'd) but not yet popped (i.e. listen'd) connections.

Re:Async Rust is not safe with io_uring by Arch-TK on Thursday October 31, 2024 @04:45AM (#42004659)
And if you pass 0 it pre-acks one connection before you accept (which is what I was referring to).