Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 1afb5b0a7 -> 01e2ae4db
  refs/heads/camel-2.19.x 0aeba63ac -> 118b37ef4
  refs/heads/master 71c6b0591 -> 483fd8e12


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/483fd8e1
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/483fd8e1
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/483fd8e1

Branch: refs/heads/master
Commit: 483fd8e12fb6268278471321df326ecc2add263b
Parents: 71c6b05
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:42:41 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/483fd8e1/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()));

Reply via email to