diff options
author | June McEnroe <june@causal.agency> | 2021-10-03 16:06:51 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-10-03 16:06:51 -0400 |
commit | d2a4c96a7993fea9c765644bfc2341d5b9209030 (patch) | |
tree | 42ff006bc80aac05d936c75085c74df8b668eb90 /server.c | |
parent | Track client idle time (diff) | |
download | pounce-d2a4c96a7993fea9c765644bfc2341d5b9209030.tar.gz pounce-d2a4c96a7993fea9c765644bfc2341d5b9209030.zip |
Send PING to idle clients after 15 minutes
This is to keep TCP connections to clients from being idle for more than 15 minutes, since regular PINGs from the server are answered by pounce and not relayed to clients. Note that there is still no timeout on poll(2) unless there are need clients. We assume that we are receiving (and swallowing) regular PINGs from the server at an interval shorter than 15 minutes, so a poll(2) timeout would be pointless.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions