Rößner-Network-Solutions

Skip to content

Feat: Introduce connection limit middleware

Christian Rößner requested to merge features into main

Add a LimitCounter middleware to manage max concurrent connections. Validate the MaxConnections field in the server config and set defaults where necessary. Ensure the server respects the maximum connections limit and returns a 429 status when exceeded.

Signed-off-by: Christian Roessner c@roessner.co

Merge request reports

Loading