Mercurial > dropbear
diff svr-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 | 860e3522f8fc |
line wrap: on
line diff
--- a/svr-chansession.c Mon Dec 02 22:55:43 2013 +0800 +++ b/svr-chansession.c Tue Dec 03 00:04:48 2013 +0800 @@ -580,8 +580,6 @@ /* Read the terminal modes */ get_termmodes(chansess); - set_sock_priority(ses.sock_out); - TRACE(("leave sessionpty")) return DROPBEAR_SUCCESS; } @@ -666,6 +664,7 @@ if (chansess->term == NULL) { /* no pty */ + set_sock_priority(ses.sock_out, DROPBEAR_PRIO_BULK); ret = noptycommand(channel, chansess); } else { /* want pty */