summary refs log tree commit diff
path: root/extra/palaver
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-03 16:18:34 -0400
committerJune McEnroe <june@causal.agency>2021-10-03 16:18:34 -0400
commitd8707c43361dc322859e5bdd3a55abc29c4d0c90 (patch)
treee2ef00e53df7c85bfda231a7e9af4761b6b5a698 /extra/palaver
parentIntercept client PONG (diff)
downloadpounce-d8707c43361dc322859e5bdd3a55abc29c4d0c90.tar.gz
pounce-d8707c43361dc322859e5bdd3a55abc29c4d0c90.zip
Remove TCP keepalive settings
TCP keepalives were originally enabled to solve the problem of
client connections staying idle for long periods of time, due to
pounce not relaying PINGs from the server. Long-idle TCP connections
are likely to be dropped by NAT routers, causing timeouts.

Unfortunately, the TCP_KEEPIDLE socket option is not available on
OpenBSD, so this was useless for pounce running there. The default
timeout before sending keepalives is 2 hours, which is far longer
than the timeout used by NAT routers, which seems to be 30 minutes.

Now that pounce sends its own PINGs to idle clients approximately
every 15 minutes, these TCP keepalive settings are unnecessary.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
amp;id=d71d0409951203d333a354c991073d18f98b8fd1&follow=1'>Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe 2018-08-04Handle /topicJune McEnroe