Преглед изворни кода

Deprecate and ignore simple-run setting for tcp-buffer

tags/v2.1.3^2
9seconds пре 4 година
родитељ
комит
ca77157fd5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      internal/cli/simple_run.go

+ 1
- 1
internal/cli/simple_run.go Прегледај датотеку

@@ -15,7 +15,7 @@ type SimpleRun struct {
15 15
 
16 16
 	Debug               bool          `kong:"name='debug',short='d',help='Run in debug mode.'"`                                                                        // nolint: lll
17 17
 	Concurrency         uint64        `kong:"name='concurrency',short='c',default='8192',help='Max number of concurrent connection to proxy.'"`                        // nolint: lll
18
-	TCPBuffer           string        `kong:"name='tcp-buffer',short='b',default='4KB',help='Size of TCP buffer to use.'"`                                             // nolint: lll
18
+	TCPBuffer           string        `kong:"name='tcp-buffer',short='b',default='4KB',help='Deprecated and ignored'"`                                                 // nolint: lll
19 19
 	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
20 20
 	DomainFrontingPort  uint64        `kong:"name='domain-fronting-port',short='p',default='443',help='A port to access for domain fronting.'"`                        // nolint: lll
21 21
 	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

Loading…
Откажи
Сачувај