Pull request: home: inc req size for some apis
Merge in DNS/adguard-home from 2666-req-body-lim to master
Updates #2666.
Squashed commit of the following:
commit a525974aee54831963e3f95c8186d44f1752e9c7
Merge: 947703f3 44168292
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Thu Feb 11 13:48:06 2021 +0300
Merge branch 'master' into 2666-req-body-lim
commit 947703f36e1ee0ab08f938850f76824b7899d7e1
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Thu Feb 11 13:28:54 2021 +0300
home: inc req size for some apis
This commit is contained in:
@@ -259,7 +259,7 @@ func (web *Web) tlsServerLoop() {
|
||||
RootCAs: Context.tlsRoots,
|
||||
CipherSuites: Context.tlsCiphers,
|
||||
},
|
||||
Handler: Context.mux,
|
||||
Handler: withMiddlewares(Context.mux, limitRequestBody),
|
||||
ReadTimeout: web.conf.ReadTimeout,
|
||||
ReadHeaderTimeout: web.conf.ReadHeaderTimeout,
|
||||
WriteTimeout: web.conf.WriteTimeout,
|
||||
|
||||
Reference in New Issue
Block a user