summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorCatalin Patulea <cat@vv.carleton.ca>2013-12-02 22:55:43 +0800
committerCatalin Patulea <cat@vv.carleton.ca>2013-12-02 22:55:43 +0800
commitddc10b2d0cbfe757cafc453708aa919039e773d6 (patch)
tree3323608115dc739dceeae235d9531fff874c35ab /cli-chansession.c
parent4f6f651b7d20f4a9cc8a5a19ef7b3de45534bbe2 (diff)
Set IPTOS_LOWDELAY on PTY sessions only
Diffstat (limited to 'cli-chansession.c')
-rw-r--r--cli-chansession.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index ed80453..6d610d4 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -369,6 +369,7 @@ static int cli_initchansess(struct Channel *channel) {
if (cli_opts.wantpty) {
send_chansess_pty_req(channel);
+ set_sock_priority(ses.sock_out);
}
send_chansess_shell_req(channel);