-
Notifications
You must be signed in to change notification settings - Fork 704
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
Implement MaxConnection Limit (2) #10370
Conversation
7031ce0
to
80b7531
Compare
Forced pushed (no1): |
80b7531
to
b0ee7ea
Compare
b0ee7ea
to
56afaf1
Compare
Forced pushed (no2): Moved limit-check/registration to StreamSocket::create() |
826374c
to
013278f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Getting better; lets simplify this further; I believe we should be able to do this in around 10 lines.
Would be nice to get the base commits in and re-base this of course too =) I queued another build. |
136e95a
to
631db5f
Compare
Great - hopefully we can re-base as-is on whatever fixes are going in for CI |
631db5f
to
5743363
Compare
Small fix force pushed, detected with subsumed PR ... (missed this config case)
|
5743363
to
4a4bff4
Compare
This reverts commit 80246f7. Signed-off-by: Sven Göthel <[email protected]> Change-Id: Ib9f0ac17c05ffe65c2370490f68f581fa76730e7
Reimplementation of commit 80246f7 (post revert). Adding external TCP connection limit to server-side TCP IPv4/IPv6 Sockets - Counted at StreamSocket ctor - Only limits TCP connections for server-side IPv4 or IPv6 TCP connections. - Rejected at ServerSocker::handlePoll - If exceeding net::Defaults.maxExtConnections, socket object and hence connection is dropped net::Defaults - Renamed maxTCPConnections -> maxExtConnections TODO: - revise net::Defaults.maxExtConnections to match actual system settings Signed-off-by: Sven Göthel <[email protected]> Change-Id: Ib9f0ac17c05ffe65c2370490f68f581fa76730e7
4a4bff4
to
57f6414
Compare
This PR is on top of #10366 !
Summary
Reimplementation of commit 80246f7 (post revert).
Adding external TCP connection limit to server-side TCP IPv4/IPv6 Sockets
TODO
Checklist
make prettier-write
and formatted the code.make check
make run
and manually verified that everything looks okay