Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD545179F4 for ; Tue, 7 Apr 2015 22:33:06 +0000 (UTC) Received: (qmail 32348 invoked by uid 500); 7 Apr 2015 22:33:01 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 32320 invoked by uid 500); 7 Apr 2015 22:33:01 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 32304 invoked by uid 99); 7 Apr 2015 22:33:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 22:33:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 209.85.216.52 as permitted sender) Received: from [209.85.216.52] (HELO mail-vn0-f52.google.com) (209.85.216.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 22:32:56 +0000 Received: by vnbg7 with SMTP id g7so10774467vnb.10 for ; Tue, 07 Apr 2015 15:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4EfST1ceFLlj5k16yu4zM8eVg2wKDWAizUf2aUm7pLs=; b=MCmOpUFcVMNlLTz98AQAfc9EfO8waAdke9akZFbHHNI998sq9QnKosOpgcdE2+ne0F zozzrQ1SFK8qzAHnCPLb52TcmCC6DS0uKDH8lrea6wjYRe4D/a5X+Z1wYt6v1thxCLSc MavxUXNZyl8SJtt98zlCMoxr1Vep4CAvIheGTgjkCtbymfxt5qq1cuQs7yZ94G0GxUl6 O7TF4vkv3qzc57KSuGFQIWrxA3LOc5Rw/VRfYDjfhvbcLPhvL1EkHIryQ66jzviUVTEC DYlrYgZdnDp9s9p3rF97sDgepqXlgrpErVSPvbemrnhKzr0/8WrqrW5CRITyBosxHQiL V6Qw== MIME-Version: 1.0 X-Received: by 10.52.107.7 with SMTP id gy7mr15309398vdb.47.1428445956356; Tue, 07 Apr 2015 15:32:36 -0700 (PDT) Received: by 10.52.87.244 with HTTP; Tue, 7 Apr 2015 15:32:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 7 Apr 2015 23:32:36 +0100 Message-ID: Subject: Re: About "httpclient4.idletimeout" From: sebb To: dev@jmeter.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Originally, HC4 used to ping the connection on every re-use. This was quite expensive. Now it only does so if it has been idle for a while; I think this is the timeout it uses. If so, it should be set to the keep alive timeout that would be sent by the server (or a bit less). On 7 April 2015 at 21:26, Philippe Mouawad wrote: > Hello, > httpclient4.idletimeout was introduced in 2.12 to handle servers who do not > send Keep-Alive header. > > This value is returned as part of implementation of : > http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/DefaultConnectionKeepAliveStrategy.html#getKeepAliveDuration%28org.apache.http.HttpResponse,%20org.apache.http.protocol.HttpContext%29 > > > I was wondering what should be the ideal value for such a parameter ? > Is it related to Apache Httpd KeepAliveTimeout or is it completely > unrelated ? > > > Regards > Philippe