diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2017-08-11 03:58:36 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-08-12 16:47:10 +1000 |
commit | b60ff20051ef96dfb207b6bfa45c0ad6c34a542a (patch) | |
tree | 5aba8318170dd597a9805e72e152b0c70a9f9397 /compat.c | |
parent | 94bc1e7ffba3cbdea8c7dcdab8376bf29283128f (diff) |
upstream commit
Keep track of the last time we actually heard from the
client and use this to also schedule a client_alive_check(). Prevents
activity on a forwarded port from indefinitely preventing the select timeout
so that client_alive_check() will eventually (although not optimally) be
called.
Analysis by willchan at google com via bz#2756, feedback & ok djm@
Upstream-ID: c08721e0bbda55c6d18e2760f3fe1b17fb71169e
Diffstat (limited to 'compat.c')
0 files changed, 0 insertions, 0 deletions