summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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