Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 47719 invoked from network); 8 May 2007 15:21:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 15:21:59 -0000 Received: (qmail 84991 invoked by uid 500); 8 May 2007 15:22:00 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 84980 invoked by uid 500); 8 May 2007 15:22:00 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 84969 invoked by uid 99); 8 May 2007 15:22:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 08:22:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 08:21:51 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1HlRVL-0002vM-22 for commons-user@jakarta.apache.org; Tue, 08 May 2007 08:21:31 -0700 Message-ID: <10377886.post@talk.nabble.com> Date: Tue, 8 May 2007 08:21:30 -0700 (PDT) From: david2 To: commons-user@jakarta.apache.org Subject: HttpMethodBase.setConnectionCloseForced(boolean) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: David.Bueche@l-3comcept.com X-Virus-Checked: Checked by ClamAV on apache.org We have an application that creates MANY short-term (< 1 second) client connections, but they are not be closed immediately and stay in a TIME_WAIT state for the full TcpTimedWaitDelay (30 seconds on Windows XP). We would like them to be closed immediately (during cleanup). I would like to modify (hack) the HttpMethodBase.setConnectionCloseForced(boolean) method to make it public. On the other hand, if this pursuit is going to be disasterous, I don't even want to go down that road. Does anyone know the reason why this method was made protected and not public, as well as whether or not making it public will create great and grave problems elsewhere? Or (preferably), what is the correct means of always forcing a shared HttpClient, ConnectionManager, etc. to always close its connections during cleanup? Thanks, -David -- View this message in context: http://www.nabble.com/HttpMethodBase.setConnectionCloseForced%28boolean%29-tf3710282.html#a10377886 Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org