Mercurial > dropbear
comparison cli-session.c @ 1859:1d86a58fb52d
Leave non-interactive at default QoS class
Lower class levels are less well defined, and non-interactive
SSH can carry various different types of applications.
This change also sets lowdelay class (AF21) earlier in an an outbound
dbclient session
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 27 Jan 2022 14:34:10 +0800 |
parents | c32976db772f |
children | 62e4baa059c3 |
comparison
equal
deleted
inserted
replaced
1857:6022df862942 | 1859:1d86a58fb52d |
---|---|
100 struct sshsession *myses = userdata; | 100 struct sshsession *myses = userdata; |
101 if (result == DROPBEAR_FAILURE) { | 101 if (result == DROPBEAR_FAILURE) { |
102 dropbear_exit("Connect failed: %s", errstring); | 102 dropbear_exit("Connect failed: %s", errstring); |
103 } | 103 } |
104 myses->sock_in = myses->sock_out = sock; | 104 myses->sock_in = myses->sock_out = sock; |
105 TRACE(("cli_connected")) | |
106 ses.socket_prio = DROPBEAR_PRIO_NORMAL; | |
107 /* switches to lowdelay */ | |
105 update_channel_prio(); | 108 update_channel_prio(); |
106 } | 109 } |
107 | 110 |
108 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress, pid_t proxy_cmd_pid) { | 111 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress, pid_t proxy_cmd_pid) { |
109 | 112 |