camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-10380 - JettyHttpEndpoint9 ignores eagerCheckContentAvailable so Jetty builds a reuqest with "Transfer-Encoding: chunked"
Date Mon, 17 Oct 2016 09:34:39 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1b851f97f -> ea257b0b4


CAMEL-10380 - JettyHttpEndpoint9 ignores eagerCheckContentAvailable so Jetty builds a reuqest
with "Transfer-Encoding: chunked"


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ea257b0b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ea257b0b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ea257b0b

Branch: refs/heads/master
Commit: ea257b0b4e0920d73d60e830bfd4ef65dc931e51
Parents: 1b851f9
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Mon Oct 17 11:18:29 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Mon Oct 17 11:18:29 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jetty9/JettyHttpEndpoint9.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ea257b0b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
index 7f00a58..e8f7167 100644
--- a/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
+++ b/components/camel-jetty9/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
@@ -49,8 +49,7 @@ public class JettyHttpEndpoint9 extends JettyHttpEndpoint implements AsyncEndpoi
                 this.binding.setAllowJavaSerializedObject(getComponent().isAllowJavaSerializedObject());
             }
             this.binding.setHeaderFilterStrategy(getHeaderFilterStrategy());
-            // TODO: this option may not work with jetty9 afair
-            //this.binding.setEagerCheckContentAvailable(isEagerCheckContentAvailable());
+            this.binding.setEagerCheckContentAvailable(isEagerCheckContentAvailable());
             this.binding.setMapHttpMessageBody(isMapHttpMessageBody());
             this.binding.setMapHttpMessageHeaders(isMapHttpMessageHeaders());
             this.binding.setMapHttpMessageFormUrlEncodedBody(isMapHttpMessageFormUrlEncodedBody());


Mime
View raw message