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
|
@ -17,6 +17,7 @@ config hostapd
|
|||
option hostapd_dir '/var/run/hostapd'
|
||||
|
||||
config times
|
||||
option client_timeout '60'
|
||||
option update_client '10'
|
||||
option remove_client '15'
|
||||
option remove_probe '30'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue