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-main.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-main.c')
-rw-r--r-- | cli-main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,9 @@ int main(int argc, char ** argv) { int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, 0, &error); sock_in = sock_out = sock; + if (cli_opts.wantpty) { + set_sock_priority(sock, DROPBEAR_PRIO_LOWDELAY); + } } if (sock_in < 0) { |