Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 43609 invoked from network); 20 Mar 2006 18:44:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 18:44:37 -0000 Received: (qmail 31931 invoked by uid 500); 20 Mar 2006 18:44:32 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 31870 invoked by uid 500); 20 Mar 2006 18:44:31 -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 31859 invoked by uid 99); 20 Mar 2006 18:44:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 10:44:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [167.206.4.205] (HELO mta10.srv.hcvlny.cv.net) (167.206.4.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 10:44:30 -0800 Received: from rucup (ool-4579b4bb.dyn.optonline.net [69.121.180.187]) by mta10.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IWF007PJVZ5ZX4C@mta10.srv.hcvlny.cv.net> for commons-user@jakarta.apache.org; Mon, 20 Mar 2006 13:42:42 -0500 (EST) Date: Mon, 20 Mar 2006 13:44:46 -0500 From: Alex Subject: RE: common-httpclient socket timeout In-reply-to: <20060320084801.21BDB10FB028@asf.osuosl.org> To: 'Jakarta Commons Users List' Message-id: <0IWF007PKVZ5ZX4C@mta10.srv.hcvlny.cv.net> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcZJ/L9/X7P9TgvOSu6BqtNnlEeosQBs7JUgABJmUiAAFHejIA== X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Am I using the code below correctly to check that it doesn't take URL over 10 seconds to load? SimpleHttpConnectionManager mr = new SimpleHttpConnectionManager(); mr.getParams().setConnectionTimeout(10000); HttpClient client = new HttpClient(mr); --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org