CAMEL-11221- 409(which was a wrong default value) should have been 4096
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/118b37ef Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/118b37ef Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/118b37ef Branch: refs/heads/camel-2.19.x Commit: 118b37ef4b2a477e7529cd0770a3a4a4135aca89 Parents: 0aeba63 Author: onders86 <ondersez...@gmail.com> Authored: Mon May 8 11:38:18 2017 +0300 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon May 8 14:45:00 2017 +0200 ---------------------------------------------------------------------- .../component/netty4/http/HttpServerSharedInitializerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/118b37ef/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java ---------------------------------------------------------------------- diff --git a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java index 698cd15..b38f98d 100644 --- a/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java +++ b/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java @@ -82,7 +82,7 @@ public class HttpServerSharedInitializerFactory extends HttpServerInitializerFac pipeline.addLast("ssl", sslHandler); } - pipeline.addLast("decoder", new HttpRequestDecoder(409, configuration.getMaxHeaderSize(), 8192)); + pipeline.addLast("decoder", new HttpRequestDecoder(4096, configuration.getMaxHeaderSize(), 8192)); pipeline.addLast("encoder", new HttpResponseEncoder()); if (configuration.isChunked()) { pipeline.addLast("aggregator", new HttpObjectAggregator(configuration.getChunkedMaxContentLength()));