From 50dbc034090614d004d097c7a45b0a28a3bbb80b Mon Sep 17 00:00:00 2001 From: Keuin Date: Tue, 5 Sep 2023 01:52:56 +0800 Subject: feature: 0-rtt connection phase extension --- example/client.toml | 3 +++ example/server.toml | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'example') diff --git a/example/client.toml b/example/client.toml index fff3308..db66633 100644 --- a/example/client.toml +++ b/example/client.toml @@ -1,5 +1,8 @@ [client] addr = "127.0.0.1:10000" +# If no_ack is set to true, all connection to the upstream will use No-ACK extension. +# This is incompatible with original TCPMUX protocol and the server must have no_ack_extension enabled. +no_ack = true [[service]] name = "Telnet" diff --git a/example/server.toml b/example/server.toml index e443ef2..6eaca8b 100644 --- a/example/server.toml +++ b/example/server.toml @@ -1,6 +1,10 @@ [server] listen = "0.0.0.0:10000" allow_help = false +# No-ACK extension does not send success or failure status to clients connecting to services +# with prefix "__nonstd_ext_no_ack_". This is useful when using TCPMUX on high-latency networks. +# Note: the server is still compatible to clients with vanilla protocol with extension enabled. +no_ack_extension = true [[service]] name = "SSH" -- cgit v1.2.3