diff options
author | Valery Piashchynski <[email protected]> | 2021-06-03 17:20:37 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-03 17:20:37 +0300 |
commit | c3e57fd82d59be19b2c41479e9019c60a0afc28f (patch) | |
tree | 2a0ece39bfed1799f1e2cba52f3bdd9cbbbb2664 /plugins/http/plugin.go | |
parent | 9c01e7ab1548e1416598b702d63866fa6dc5707b (diff) | |
parent | 7daadf3d40fb890d15c0fd97078ab1d2af4120a2 (diff) |
#700 fix(bug): do not write internal error to the users responseWriter
#700 fix(bug): do not write internal error to the users responseWriter
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r-- | plugins/http/plugin.go | 2 |
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, |