Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeated listen() calls on same sockets #16

Open
FreakyPenguin opened this issue Sep 18, 2022 · 1 comment
Open

repeated listen() calls on same sockets #16

FreakyPenguin opened this issue Sep 18, 2022 · 1 comment

Comments

@FreakyPenguin
Copy link
Member

Looks like nginx (and possibly other applications) call listen on a socket more than once. Not exactly sure why, or what the sockets spec says should happen, but clearly this works on Linux so we should see if we can also handle this reasonably too.

@FreakyPenguin
Copy link
Member Author

https://stackoverflow.com/questions/43078649/listen-called-on-socket-more-than-once-expected-behavior suggests this is used to adjust backlog queue length. So we could just ignore repeated call with a warning for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant