Skip to content

Commit 0a233e0

Browse files
committed
Also enable TcpNoDelay for SSHChannel
1 parent 68807a9 commit 0a233e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/theholywaffle/teamspeak3/SSHChannel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class SSHChannel implements IOChannel {
6565
client.setRemoteCharset(StandardCharsets.UTF_8);
6666

6767
client.connect(config.getHost(), config.getQueryPort());
68+
client.getSocket().setTcpNoDelay(true);
6869
client.authPassword(config.getUsername(), config.getPassword());
6970
session = client.startSession();
7071
session.startShell();

0 commit comments

Comments
 (0)