From d21f1b7d4edfe07a8b9142502f8bf6c1d57ea172 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 3 Mar 2020 19:01:47 +0300 Subject: Remove redundant code --- service/http/config.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'service/http') diff --git a/service/http/config.go b/service/http/config.go index d4143bb0..81fcd16c 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -24,9 +24,6 @@ type Config struct { // HTTP2 configuration HTTP2 *HTTP2Config - // Unix socket configuration - Unix *UnixSocketsConfig - // MaxRequestSize specified max size for payload body in megabytes, set 0 to unlimited. MaxRequestSize int64 @@ -59,14 +56,6 @@ type HTTP2Config struct { MaxConcurrentStreams uint32 } -// UnixSocketsConfig is unix sockets configuration -type UnixSocketsConfig struct { - // Enabled - Enable or disable unix sockets extension - Enabled bool - // Address is a Unix socket address [rr.sock for example] - Address string -} - // InitDefaults sets default values for HTTP/2 configuration. func (cfg *HTTP2Config) InitDefaults() error { cfg.Enabled = true -- cgit v1.2.3