You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -123,6 +128,13 @@ public class NettyHttpServerTransport extends AbstractComponent implements HttpS
123
128
if ((httpKeepAliveTickDuration.millis() * 10) > httpKeepAlive.millis()) {
124
129
logger.warn("Suspicious keep alive settings, httpKeepAlive set to [{}], while httpKeepAliveTickDuration is set to [{}]", httpKeepAlive, httpKeepAliveTickDuration);
125
130
}
131
+
132
+
// validate max content length
133
+
if (maxContentLength.bytes() > Integer.MAX_VALUE) {
134
+
logger.warn("maxContentLength[" + maxContentLength + "] set to high value, resetting it to [100mb]");
0 commit comments