From ba0e164eac3a267290abb71cee59fd7f546ff96a Mon Sep 17 00:00:00 2001 From: notsure2 Date: Sun, 23 Apr 2023 19:08:47 +0200 Subject: [PATCH] Document experimental tcp buffer size options in the server config. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 48225a7..0bbc85f 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,12 @@ This field also has no effect if `AdminUID` isn't a valid UID or is empty. `KeepAlive` is the number of seconds to tell the OS to wait after no activity before sending TCP KeepAlive probes to the upstream proxy server. Zero or negative value disables it. Default is 0 (disabled). +`LoopbackTcpSendBuffer` is the number of bytes to use for the tcp loopback send buffer. Use a low value like 4096 for a server-to-server bridge. +`LoopbackTcpReceiveBuffer` is the number of bytes to use for the tcp loopback receive buffer. Use a low value like 4096 for a server-to-server bridge. + +These 2 options are not normally needed except when setting up a tcp server-to-server bridge using a shadowsocks or similar tcp server in the `ProxyBook` to reduce tcp performance degradation due to bufferbloat across the bridge. + + ### Client `UID` is your UID in base64.