Share connection semaphore across listeners (review #010 C4)

This commit is contained in:
glm-5.3-flash committed 2026-09-13 07:46:58 +00:00
1 parent 9e26295cf7
commit 1bbb9c237c
6 files changed
+183 -25

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ Configuration uses TOML and is split into **static** (requires restart) and
| `shutdown_timeout_secs` | `30` | Graceful shutdown timeout |
| `connection_idle_timeout_secs` | `60` | Server-side idle timeout for client TLS connections (prevents FD exhaustion from abandoned connections) |
| `tls_handshake_timeout_secs` | `10` | Max seconds to complete the TLS handshake; stalled handshakes are closed (prevents slowloris FD/permit exhaustion) |
| `max_connections` | `1024` | Max concurrent client TLS connections (backpressure via semaphore) |
| `max_connections` | `1024` | Max concurrent client TLS connections, shared across all listeners (global semaphore) |
| `logging.level` | `"info"` | Log level |
| `logging.format` | `"text"` | Log format (`"text"` or `"json"`) |
| `logging.log_file_path` | (not set) | Path to log file for fail2ban |