Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.14.2, 2.15.0
-
Component/s: camel-netty-http, camel-netty4-http
-
Labels:None
-
Estimated Complexity:Unknown
Description
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.
<?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>