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

Limit number of open http connections. #254

Open
gatzka opened this issue Nov 26, 2018 · 0 comments
Open

Limit number of open http connections. #254

gatzka opened this issue Nov 26, 2018 · 0 comments
Assignees

Comments

@gatzka
Copy link
Owner

gatzka commented Nov 26, 2018

Should be done globally in http-server to prevent DOS as early as possible.
Two options:

  • Immediately close the socket connection after accept.
  • Close the server socket if above limit and reopen again if below limit.
@gatzka gatzka self-assigned this Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant