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
Showing
- doc/reference.rst 8 additions, 0 deletionsdoc/reference.rst
- man/knot.conf.5.in 9 additions, 4 deletionsman/knot.conf.5.in
- src/knot/conf/cf-lex.l 1 addition, 0 deletionssrc/knot/conf/cf-lex.l
- src/knot/conf/cf-parse.y 4 additions, 0 deletionssrc/knot/conf/cf-parse.y
- src/knot/conf/conf.c 3 additions, 0 deletionssrc/knot/conf/conf.c
- src/knot/conf/conf.h 4 additions, 2 deletionssrc/knot/conf/conf.h
- src/knot/server/tcp-handler.c 48 additions, 50 deletionssrc/knot/server/tcp-handler.c
Please register or sign in to comment