thweetkomputer commented on PR #3498: URL: https://github.com/apache/brpc/pull/3498#issuecomment-5644724335
@wwbmmm Thanks for the suggestion. Updated in 702cba2a: `ServerOptions.max_connections` and `Server::SetMaxConnections()` now apply per public listener across all protocols. Services sharing a port share the limit; separate listeners have independent limits, even when they share the same service object. The internal listener remains unlimited. Excess connections are closed before protocol parsing or TLS. Documentation and tests have been updated, and all 53 tests across the Server, input messenger, and SSL suites passed locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
