mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
- 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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user