-
Notifications
You must be signed in to change notification settings - Fork 790
Open
Description
Mio uses 1024 rather than -1 to listen by default in a few cases:
Line 81 in 9a9d691
listen(&listener.inner, 1024)?; mio/src/sys/unix/uds/listener.rs
Line 19 in 9a9d691
syscall!(listen(fd, 1024))?;
std has moved to using -1 or equivalent to prefer the largest possible backlog instead, and mio should probably match that? It would help ensure that applications moving between creating sockets in std and in mio get mostly equivalent behavior for this queue.
Metadata
Metadata
Assignees
Labels
No labels