Mercurial > dropbear
diff cli-chansession.c @ 871:aa689d140928
- Sockets are set to lowdelay priority initially to improve conneciton setup
time
- Set non-pty connections to bulk for client and server
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 03 Dec 2013 00:04:48 +0800 |
parents | 80af450dae76 |
children | a287954a16d6 |
line wrap: on
line diff
--- a/cli-chansession.c Mon Dec 02 22:55:43 2013 +0800 +++ b/cli-chansession.c Tue Dec 03 00:04:48 2013 +0800 @@ -369,7 +369,8 @@ 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);