diff options
author | Keuin <[email protected]> | 2023-09-05 01:52:56 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2023-09-05 01:56:21 +0800 |
commit | 50dbc034090614d004d097c7a45b0a28a3bbb80b (patch) | |
tree | b8ad419bb8c2fed12ac419274755c716166eb90b /example | |
parent | 863473cdcb29d9989c39b4ff96bd54e14b13c6b6 (diff) |
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" |