Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
870:80af450dae76 | 871:aa689d140928 |
---|---|
367 } | 367 } |
368 #endif | 368 #endif |
369 | 369 |
370 if (cli_opts.wantpty) { | 370 if (cli_opts.wantpty) { |
371 send_chansess_pty_req(channel); | 371 send_chansess_pty_req(channel); |
372 set_sock_priority(ses.sock_out); | 372 } else { |
373 set_sock_priority(ses.sock_out, DROPBEAR_PRIO_BULK); | |
373 } | 374 } |
374 | 375 |
375 send_chansess_shell_req(channel); | 376 send_chansess_shell_req(channel); |
376 | 377 |
377 if (cli_opts.wantpty) { | 378 if (cli_opts.wantpty) { |