Skip to content
Snippets Groups Projects
Commit 889f0dcd authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

merge 'TCP hardlimits'

Several bugs fixed:
- TCP client count can be limited by the config variable `max_tcp_clients` in `system` (so there are free descriptors for autonomous operation)
- Aggressive limits when client connects, but doesn't start sending data in time
- Throttling doesn't affect activity other then `accept()`
- Possible resource leak on `tcp_sweep`
- Bad logic (started reading from socket before checking for error activity first)
- Bad logic (could close master socket on fd exhaustion)

fixes #326 in 1.6
parents 978c36a2 1701ae0b
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment