Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4DF21200BA1 for ; Mon, 17 Oct 2016 11:34:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4C444160AEC; Mon, 17 Oct 2016 09:34:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 927DB160AE5 for ; Mon, 17 Oct 2016 11:34:40 +0200 (CEST) Received: (qmail 43505 invoked by uid 500); 17 Oct 2016 09:34:39 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 43496 invoked by uid 99); 17 Oct 2016 09:34:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 09:34:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AC961DFEDA; Mon, 17 Oct 2016 09:34:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: acosentino@apache.org To: commits@camel.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) archived-at: Mon, 17 Oct 2016 09:34:41 -0000 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 Authored: Mon Oct 17 11:18:29 2016 +0200 Committer: Andrea Cosentino 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());