Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 74629 invoked from network); 26 Feb 2008 06:11:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 06:11:29 -0000 Received: (qmail 53371 invoked by uid 500); 26 Feb 2008 06:11:23 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 53354 invoked by uid 500); 26 Feb 2008 06:11:23 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Delivered-To: moderator for httpclient-users@hc.apache.org Received: (qmail 16751 invoked by uid 99); 26 Feb 2008 01:53:27 -0000 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) From: shawnh@zeptoverse.com To: httpclient-users@hc.apache.org Importance: Normal Sensitivity: Normal Message-ID: X-Mailer: Network Solutions Webmail, Build 11.2.30 X-Originating-IP: [63.226.235.107] X-Forwarded-For: [(null)] Date: Tue, 26 Feb 2008 01:52:58 +0000 Subject: Resetting connections MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org For a new project we're going to start using the Apache httpclient. One o= f the things I've had trouble with in prior systems is that long-running = services get into states where they stop operating correctly. The solutio= n was usually to throw away the old socket and connection objects and cre= ate new ones(discard and recreate always worked, more graceful methods di= dn't). What I don't see in the HttpClient / HttpConnection / HttpConnectionManag= er is the facility to remove a specific connection from a connection pool= and create a new one (assuming the others are working okay). Is this han= dled entirely within the HttpConnectionManager based on socket state and = the type of error, or is there something additional I should do for a lon= g-running service? (By "long-running service", I'm referring to a service= that should run years without intervention or restart, though "years" in= this case is more accurately measured in months.) Sorry if this is a basic question, I haven't been able to find the answer= elsewhere or in the tutorials. Thanks, -- Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org