- Sockets are set to lowdelay priority initially to improve conneciton setup

time
- Set non-pty connections to bulk for client and server
This commit is contained in:
Matt Johnston
2013-12-03 00:04:48 +08:00
parent ddc10b2d0c
commit 998d6cdfc4
6 changed files with 40 additions and 19 deletions

View File

@@ -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);