summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-03-03 19:01:47 +0300
committerValery Piashchynski <[email protected]>2020-03-03 19:01:47 +0300
commitd21f1b7d4edfe07a8b9142502f8bf6c1d57ea172 (patch)
tree53d1232d264db436d62b56ea958dce95cdb35d43
parentaa0ba5496c101e41a497285b4e0f4e9f2820b5e7 (diff)
Remove redundant code
-rw-r--r--service/http/config.go11
1 files changed, 0 insertions, 11 deletions
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