From 44268e7fadf92e0db6189bb7a63b14b3425a3332 Mon Sep 17 00:00:00 2001 From: Maytas Monsereenusorn Date: Wed, 19 Jun 2024 02:42:16 +0700 Subject: [PATCH] Pass requestBufferSize from Config to Proxy servlet (#16611) --- .../java/org/apache/druid/cli/RouterJettyServerInitializer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/src/main/java/org/apache/druid/cli/RouterJettyServerInitializer.java b/services/src/main/java/org/apache/druid/cli/RouterJettyServerInitializer.java index 06531bbe7af..21f14ba16f9 100644 --- a/services/src/main/java/org/apache/druid/cli/RouterJettyServerInitializer.java +++ b/services/src/main/java/org/apache/druid/cli/RouterJettyServerInitializer.java @@ -176,6 +176,7 @@ public class RouterJettyServerInitializer implements JettyServerInitializer sh.setInitParameter("maxConnections", Integer.toString(httpClientConfig.getNumConnections())); sh.setInitParameter("idleTimeout", Long.toString(httpClientConfig.getReadTimeout().getMillis())); sh.setInitParameter("timeout", Long.toString(httpClientConfig.getReadTimeout().getMillis())); + sh.setInitParameter("requestBufferSize", Integer.toString(httpClientConfig.getRequestBuffersize())); return sh; }