Просмотр исходного кода

Deprecate and ignore simple-run setting for tcp-buffer

tags/v2.1.3^2
9seconds 4 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить