From ca77157fd54e369246d1f57ae4d7c44ce059fe80 Mon Sep 17 00:00:00 2001 From: 9seconds Date: Sun, 28 Nov 2021 18:15:05 +0300 Subject: [PATCH] Deprecate and ignore simple-run setting for tcp-buffer --- internal/cli/simple_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/simple_run.go b/internal/cli/simple_run.go index 893c889..80edec3 100644 --- a/internal/cli/simple_run.go +++ b/internal/cli/simple_run.go @@ -15,7 +15,7 @@ type SimpleRun struct { Debug bool `kong:"name='debug',short='d',help='Run in debug mode.'"` // nolint: lll Concurrency uint64 `kong:"name='concurrency',short='c',default='8192',help='Max number of concurrent connection to proxy.'"` // nolint: lll - TCPBuffer string `kong:"name='tcp-buffer',short='b',default='4KB',help='Size of TCP buffer to use.'"` // nolint: lll + TCPBuffer string `kong:"name='tcp-buffer',short='b',default='4KB',help='Deprecated and ignored'"` // nolint: lll PreferIP string `kong:"name='prefer-ip',short='i',default='prefer-ipv6',help='IP preference. By default we prefer IPv6 with fallback to IPv4.'"` // nolint: lll DomainFrontingPort uint64 `kong:"name='domain-fronting-port',short='p',default='443',help='A port to access for domain fronting.'"` // nolint: lll DOHIP net.IP `kong:"name='doh-ip',short='n',default='9.9.9.9',help='IP address of DNS-over-HTTP to use.'"` // nolint: lll