]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 20 Jun 2004 17:07:38 +0000 (17:07 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 20 Jun 2004 17:07:38 +0000 (17:07 +0000)
commit6611f897929722d62f4f985d0648c4571cd4a997
treee287e4f6a78c32c095c1b511d644b8487cc2488c
parenteba424fa3fc109ed017c7d1707f3974a9d48783c
Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
No very good reason, but I've occasionally wanted to frob it to see if it
makes any difference to problems I'm having, and it was easy.

Tested that it does actually cause keepalives on Windows (with tcpdump);
should also work on Unix. Not implemented on Mac (does nothing), but then
neither is TCP_NODELAY.

Quite a big checkin, much of which is adding `keepalive' alongside `nodelay'
in network function calls.

git-svn-id: http://svn.tartarus.org/sgt/putty@4309 cda61777-01e9-0310-a592-d414129be87e
29 files changed:
config.c
doc/config.but
mac/macnet.c
mac/macterm.c
mac/mtcpnet.c
mac/otnet.c
network.h
plink.c
portfwd.c
pproxy.c
proxy.c
psftp.c
putty.h
raw.c
rlogin.c
scp.c
settings.c
ssh.c
telnet.c
testback.c
unix/pterm.c
unix/pty.c
unix/uxnet.c
unix/uxplink.c
unix/uxproxy.c
window.c
winhelp.h
winnet.c
x11fwd.c