Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 89424 invoked from network); 18 Jun 2008 20:58:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 20:58:55 -0000 Received: (qmail 41482 invoked by uid 500); 18 Jun 2008 20:58:48 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 41426 invoked by uid 500); 18 Jun 2008 20:58:48 -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 Received: (qmail 41396 invoked by uid 99); 18 Jun 2008 20:58:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 13:58:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 20:57:58 +0000 Received: by py-out-1112.google.com with SMTP id d32so243301pye.19 for ; Wed, 18 Jun 2008 13:58:14 -0700 (PDT) Received: by 10.142.140.15 with SMTP id n15mr578678wfd.168.1213822694130; Wed, 18 Jun 2008 13:58:14 -0700 (PDT) Received: by 10.142.131.13 with HTTP; Wed, 18 Jun 2008 13:58:14 -0700 (PDT) Message-ID: <1f3854d50806181358tad912b0i6eb1f4fde38caa4c@mail.gmail.com> Date: Wed, 18 Jun 2008 22:58:14 +0200 From: "Quintin Beukes" Sender: quintin@skywalk.co.za To: "HttpClient User Discussion" Subject: DefaultHttpClientConnection.isOpen(); MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: ea6c6d9081039161 X-Virus-Checked: Checked by ClamAV on apache.org Hey, Is it possible for this method (DefaultHttpClientConnection.isOpen()) to return "true" when the socket is closed. I have a case where netstat doesn't return ANY open connections to the target server, but isOpen returns true. It's not very easy to reproduce my problem, but I've been able to do it whenever needed by using high concurrency. I'm not sure if isOpen() ever returns true when there is no socket when it seems like my problem isn't there. I've only checked when my problem is occurring, and this seems very odd. Thanks -- Quintin Beukes --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org