Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 94010 invoked from network); 8 Dec 2007 04:43:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2007 04:43:06 -0000 Received: (qmail 30889 invoked by uid 500); 8 Dec 2007 04:42:54 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 30866 invoked by uid 500); 8 Dec 2007 04:42:54 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 30857 invoked by uid 99); 8 Dec 2007 04:42:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 20:42:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Dec 2007 04:43:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 06D7671424F for ; Fri, 7 Dec 2007 20:42:43 -0800 (PST) Message-ID: <8020118.1197088963009.JavaMail.jira@brutus> Date: Fri, 7 Dec 2007 20:42:43 -0800 (PST) From: "Chris Berry (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Updated: (ABDERA-83) Allow access to some essential parameters to HttpClient from AbderaClient In-Reply-To: <17873046.1197088843186.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Berry updated ABDERA-83: ------------------------------ Attachment: AbderaClient.patch patch file built with "svn diff > patch" from the toplevel of 0.3.0 > Allow access to some essential parameters to HttpClient from AbderaClient > ------------------------------------------------------------------------- > > Key: ABDERA-83 > URL: https://issues.apache.org/jira/browse/ABDERA-83 > Project: Abdera > Issue Type: Improvement > Reporter: Chris Berry > Attachments: AbderaClient.patch > > > The AbderaClient does not expose a way to set the ConnectionTimeout and SocketTimeout in its wrapped HttpClient. > (We are using 0.3.0 BTW) > Setting this value is critical. Without it clients can hang (unless they add their own timeout mechanism) > Unfortunately, the wrapped HttpClient in AbderaClient is private -- not protected -- so there is no easy fix for this (without hacking AbderaClient itself) > I have attached a patch (built as "svn diff > patch" from the toplevel of 0.3.0) > This patch exposes socketTimeout, connectionTimeout, HttpConnectionManagetTimeout, and TCP_NoDelay, all of which are important for use in a Production application -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.