summaryrefslogtreecommitdiff
path: root/plugins/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-18 12:55:28 +0300
committerValery Piashchynski <[email protected]>2020-11-18 12:55:28 +0300
commit49a7c06b4ed3605130c3d09e73b28822aa205465 (patch)
treedd66f4f2c4a752c796d3a19d20203f7914d65bb1 /plugins/http
parent2b395a5f1bd431a2a9c80c35a2ca5f42066c9ffd (diff)
Remove old errors
Diffstat (limited to 'plugins/http')
-rw-r--r--plugins/http/plugin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 581455b3..e5ccabc4 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -18,6 +18,7 @@ import (
"github.com/spiral/roadrunner/v2/interfaces/log"
factory "github.com/spiral/roadrunner/v2/interfaces/server"
"github.com/spiral/roadrunner/v2/plugins/config"
+ "github.com/spiral/roadrunner/v2/plugins/http/attributes"
"github.com/spiral/roadrunner/v2/util"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"
@@ -272,7 +273,7 @@ func (s *Plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) {
w.Header().Add("Strict-Transport-Security", "max-age=31536000; includeSubDomains; preload")
}
- //r = attributes.Init(r)
+ r = attributes.Init(r)
// chaining middleware
f := s.handler.ServeHTTP