You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/03/09 11:51:39 UTC

[jira] [Resolved] (CAMEL-8461) camel-netty-http does not respect client's keep-alive setting

     [ https://issues.apache.org/jira/browse/CAMEL-8461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-8461.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.16.0

Applied the patch into master , camel-2.14.x and camel-2.15.x branches.

> camel-netty-http does not respect client's keep-alive setting
> -------------------------------------------------------------
>
>                 Key: CAMEL-8461
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8461
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-netty-http, camel-netty4-http
>    Affects Versions: 2.14.2, 2.15.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.14.3, 2.15.1, 2.16.0
>
>
> If we have the camel route which remove the all the header after the netty-http consumer, netty doesn't  close the connection even the client send the http header connection as closed.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="eager">
>   <camelContext xmlns="http://camel.apache.org/schema/blueprint">
>     <route>
>       <from id="t1" uri="netty-http:http://localhost:9000/test"/>
>       <removeHeaders pattern="*"/>
>       <setBody>
>         <constant>Hello, World!</constant>
>       </setBody>
>       <to uri="log:XXX?level=ERROR"/>
>     </route>
>   </camelContext>
> </blueprint>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)