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/01e2ae4d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/01e2ae4d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/01e2ae4d Branch: refs/heads/camel-2.18.x Commit: 01e2ae4db213c9675791822183785db4cbb00755 Parents: 1afb5b0 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:19 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/01e2ae4d/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()));