~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a configuration option for TCP keepalives (SO_KEEPALIVE), default off.
[sgt/putty]
/
scp.c
diff --git
a/scp.c
b/scp.c
index
06bf089
..
f7fa255
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-450,7
+450,8
@@
static void do_cmd(char *host, char *user, char *cmd)
back = &ssh_backend;
back = &ssh_backend;
- err = back->init(NULL, &backhandle, &cfg, cfg.host, cfg.port, &realhost,0);
+ err = back->init(NULL, &backhandle, &cfg, cfg.host, cfg.port, &realhost,
+ 0, cfg.tcp_keepalives);
if (err != NULL)
bump("ssh_init: %s", err);
logctx = log_init(NULL, &cfg);
if (err != NULL)
bump("ssh_init: %s", err);
logctx = log_init(NULL, &cfg);