diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/client.toml | 3 | ||||
-rw-r--r-- | example/server.toml | 4 |
2 files changed, 7 insertions, 0 deletions
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" |