[
https://issues.apache.org/jira/browse/CAMEL-6945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818673#comment-13818673
]
Willem Jiang commented on CAMEL-6945:
-------------------------------------
If we want to proxy the request and keep using the connection, we need to
change the header "Connection: close" to be "Connection: keepalive", the proxy
can be like this
{code}
from("netty-http:xxx").setHeader("connection",
"keep-alive").to("netty-http:yyy")
{code}
> camel-netty-http producer should close the connection when the request
> connection header is close
> -------------------------------------------------------------------------------------------------
>
> Key: CAMEL-6945
> URL: https://issues.apache.org/jira/browse/CAMEL-6945
> Project: Camel
> Issue Type: Bug
> Components: camel-netty-http
> Affects Versions: 2.12.0, 2.12.1
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.12.2, 2.13.0
>
>
> camel-netty-http producer should close the connection when the request
> connection header is close otherwise it will get ClosedChannelException when
> the producer try to reuse the connection.
--
This message was sent by Atlassian JIRA
(v6.1#6144)