[
https://issues.apache.org/jira/browse/CAMEL-11221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000438#comment-16000438
]
ASF GitHub Bot commented on CAMEL-11221:
----------------------------------------
GitHub user onders86 opened a pull request:
https://github.com/apache/camel/pull/1677
CAMEL-11221- fix typo
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onders86/camel CAMEL-11221
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1677.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1677
----
commit 57247f888158fb39d29c569f161d6674cce997a6
Author: onders86 <[email protected]>
Date: 2017-05-08T08:38:18Z
CAMEL-11221- fix typo
----
> camel-netty4-http cannot have a URL larger than 409 bytes by default, rather
> than the assumed 4096 byte limit
> -------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-11221
> URL: https://issues.apache.org/jira/browse/CAMEL-11221
> Project: Camel
> Issue Type: Bug
> Components: camel-netty4-http
> Affects Versions: 2.18.3
> Reporter: Wayne Gilbert
> Fix For: 2.18.4, 2.20.0, 2.19.1
>
>
> https://github.com/apache/camel/blob/camel-2.19.x/components/camel-netty4-http/src/main/java/org/apache/camel/component/netty4/http/HttpServerSharedInitializerFactory.java
> In function "initChannel" the call to new request decoder
> pipeline.addLast("decoder", new HttpRequestDecoder(409,
> configuration.getMaxHeaderSize(), 8192));
> 409, should probably be 4096,
> This is set when using the init-method start on the bean below:
> <spring:bean id="httpServer"
> class="org.apache.camel.component.netty4.http.DefaultNettySharedHttpServer"
> init-method="start" destroy-method="stop">
> <spring:property name="nettyServerBootstrapConfiguration"
> ref="configuration"/>
> </spring:bean>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)