pollux/src
Jeena 3278e9422e Complete configurable global concurrent request limiting
- Add max_concurrent_requests config option (default: 1000)
- Implement global AtomicUsize counter for tracking active connections
- Return early for rate-limited connections (no TLS/processing overhead)
- Proper counter management with increment/decrement
- Comprehensive error handling and validation
- Tested with concurrent connection holding - works perfectly!

Rate limiting now provides effective DDoS protection by:
- Limiting concurrent connections to prevent server overload
- Rejecting excess connections immediately (connection reset)
- Configurable per deployment needs
- Thread-safe implementation with zero performance impact
2026-01-16 03:10:23 +00:00
..
config.rs Add configurable global concurrent request limiting 2026-01-16 02:26:59 +00:00
logging.rs Initial codebase structure 2026-01-15 08:22:06 +09:00
main.rs Add max concurrent requests to startup info 2026-01-16 02:42:18 +00:00
request.rs Fix Gemini protocol status codes and error handling 2026-01-16 00:17:34 +00:00
server.rs Complete configurable global concurrent request limiting 2026-01-16 03:10:23 +00:00
tls.rs Initial codebase structure 2026-01-15 08:22:06 +09:00