summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-12-03 00:04:48 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-12-03 00:04:48 +0800
commit998d6cdfc48bbe9101b87457edbc0e3f2fe36fe0 (patch)
tree233908448fc7a085ad2b9ff75e72882e881e2cb6 /cli-chansession.c
parentddc10b2d0cbfe757cafc453708aa919039e773d6 (diff)
- Sockets are set to lowdelay priority initially to improve conneciton setup
time - Set non-pty connections to bulk for client and server
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index 6d610d4..c3e2f81 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -369,7 +369,8 @@ static int cli_initchansess(struct Channel *channel) {
if (cli_opts.wantpty) {
send_chansess_pty_req(channel);
- set_sock_priority(ses.sock_out);
+ } else {
+ set_sock_priority(ses.sock_out, DROPBEAR_PRIO_BULK);
}
send_chansess_shell_req(channel);