diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-12-03 00:04:48 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-12-03 00:04:48 +0800 |
commit | 998d6cdfc48bbe9101b87457edbc0e3f2fe36fe0 (patch) | |
tree | 233908448fc7a085ad2b9ff75e72882e881e2cb6 /cli-chansession.c | |
parent | ddc10b2d0cbfe757cafc453708aa919039e773d6 (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.c | 3 |
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); |