mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
network: add timeout for client connections
Somtimes client connetions will not close therfore add a timeout. Add a new timer that checks every 5s if we did not receive anything from a client for (default) 60s. Can be configured via client_timeout. Code is based on the work of ptpt52. Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
e596ff1317
commit
eba03547a5
8 changed files with 50 additions and 0 deletions
|
@ -263,6 +263,7 @@ grep 'CONFIG-T:' `find . -type f -name "*.[ch]"`|sed 's/^.*CONFIG-.: *\(.*\)$/|\
|
|||
-->
|
||||
|Parameter|Purpose|Notes [Default is bracketed]|
|
||||
|---------|-------|-----|
|
||||
|client_timeout|Timespan until a client is seen as disconnected|[60]|
|
||||
|remove_ap|Timer to remove expired AP entries from core data set|[460]|
|
||||
|remove_client|Timer to remove expired client entries from core data set|[15]|
|
||||
|remove_probe|Timer to remove expired PROBE and BEACON entries from core data set|[30]|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue