summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r--plugins/http/plugin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 770ca8ca..1952679a 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -149,6 +149,7 @@ func (p *Plugin) serve(errCh chan error) {
p.handler, err = handler.NewHandler(
p.cfg.MaxRequestSize,
+ p.cfg.InternalErrorCode,
*p.cfg.Uploads,
p.cfg.Cidrs,
p.pool,
@@ -323,6 +324,7 @@ func (p *Plugin) Reset() error {
p.handler, err = handler.NewHandler(
p.cfg.MaxRequestSize,
+ p.cfg.InternalErrorCode,
*p.cfg.Uploads,
p.cfg.Cidrs,
p.pool,