]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - unix/uxproxy.c
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)
commit20f433efac8908e7024b3ae78fd8f6d3313f4d09
treee287e4f6a78c32c095c1b511d644b8487cc2488c
parent6bcac21e36c648736f06a86d97eebd41a9a0c271
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.

[originally from svn r4309]
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