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
{{ message }}
This repository has been archived by the owner on May 4, 2018. It is now read-only.
There are subtle problems with this, though it is still feasible. In fact, we are accepting new sockets ahead of time on unixes (in both IPC pipes and TCP server), and uv_accept() is technically are pop() equivalent on internal list of incoming sockets. On a bright side, only one socket is queued for TCP server, but even in case of that we'll need to allocate space for sockaddr_storage in order to be able to fetch with accept() syscall.
Sure, we'll need to look into that. IIRC Windows does a similar trick. I just had a quick look and I was curious about how this would work on Windows, so I left a note :-)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
we should be able to fill out the peer information by default when accepting a socket, and avoid where possible the extra syscall
The text was updated successfully, but these errors were encountered: