diff options
author | Damien Miller <djm@mindrot.org> | 2013-07-18 16:13:55 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-07-18 16:13:55 +1000 |
commit | 649fe025a409d0ce88c60a068f3f211193c35873 (patch) | |
tree | 0e016f24267baf5d304f9bca2527319cfeafe75d | |
parent | 5bb8833e809d827496dffca0dc2c223052c93931 (diff) |
- djm@cvs.openbsd.org 2013/07/12 05:48:55
[ssh.c]
set TCP nodelay for connections started with -N; bz#2124 ok dtucker@
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ssh.c | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -54,6 +54,9 @@ | |||
54 | do_print_resource_record() can never be called with a NULL filename, so | 54 | do_print_resource_record() can never be called with a NULL filename, so |
55 | don't attempt (and bungle) asking for one if it has not been specified | 55 | don't attempt (and bungle) asking for one if it has not been specified |
56 | bz#2127 ok dtucker@ | 56 | bz#2127 ok dtucker@ |
57 | - djm@cvs.openbsd.org 2013/07/12 05:48:55 | ||
58 | [ssh.c] | ||
59 | set TCP nodelay for connections started with -N; bz#2124 ok dtucker@ | ||
57 | 60 | ||
58 | 20130702 | 61 | 20130702 |
59 | - (dtucker) [contrib/cygwin/README contrib/cygwin/ssh-host-config | 62 | - (dtucker) [contrib/cygwin/README contrib/cygwin/ssh-host-config |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.378 2013/05/17 00:13:14 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.379 2013/07/12 05:48:55 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1480,6 +1480,11 @@ ssh_session2(void) | |||
1480 | 1480 | ||
1481 | if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN)) | 1481 | if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN)) |
1482 | id = ssh_session2_open(); | 1482 | id = ssh_session2_open(); |
1483 | else { | ||
1484 | packet_set_interactive( | ||
1485 | options.control_master == SSHCTL_MASTER_NO, | ||
1486 | options.ip_qos_interactive, options.ip_qos_bulk); | ||
1487 | } | ||
1483 | 1488 | ||
1484 | /* If we don't expect to open a new session, then disallow it */ | 1489 | /* If we don't expect to open a new session, then disallow it */ |
1485 | if (options.control_master == SSHCTL_MASTER_NO && | 1490 | if (options.control_master == SSHCTL_MASTER_NO && |