MSP-325 add receiver argument to http requests handler
This commit is contained in:
1 parent
05bdf75e95
commit
24b22aa7f1
2 files changed
+12
-11
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ func (s *httpSrv) run(maxRequestBodySize int64) {
|
||||
localConfig := config.Get().(*conf.Configuration)
|
||||
restAddress := localConfig.HttpInnerAddress.GetAddress()
|
||||
s.srv = &fasthttp.Server{
|
||||
Handler: handler.CompleteRequest,
|
||||
Handler: handler.New().CompleteRequest,
|
||||
WriteTimeout: defaultTimeout,
|
||||
ReadTimeout: defaultTimeout,
|
||||
MaxRequestBodySize: int(maxRequestBodySize),
|
||||
|
||||
Reference in new issue
Block a user