From httpclient-users-return-14300-archive-asf-public=cust-asf.ponee.io@hc.apache.org Wed Aug 8 19:47:37 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3AA0E180600 for ; Wed, 8 Aug 2018 19:47:37 +0200 (CEST) Received: (qmail 47267 invoked by uid 500); 8 Aug 2018 17:47:31 -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 47255 invoked by uid 99); 8 Aug 2018 17:47:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2018 17:47:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 43BB51800D4 for ; Wed, 8 Aug 2018 17:47:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id X2YXAO4Lb4Mb for ; Wed, 8 Aug 2018 17:47:27 +0000 (UTC) Received: from kalnich2.nine.ch (kalnich2.nine.ch [5.148.180.21]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 939BC5F3EA for ; Wed, 8 Aug 2018 17:47:27 +0000 (UTC) Received: from ok2c (unknown [213.55.211.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by kalnich2.nine.ch (Postfix) with ESMTPSA id D8AD216024A for ; Wed, 8 Aug 2018 17:37:40 +0000 (UTC) Message-ID: <1533750440.19901.2.camel@ok2consulting.com> Subject: Re: httpCore5 - ClassicGetExecutionExample From: Oleg Kalnichevski To: HttpClient User Discussion Date: Wed, 08 Aug 2018 19:47:20 +0200 In-Reply-To: References: <1533722035.3405.0.camel@apache.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, 2018-08-08 at 09:59 -0700, Tommy Pham wrote: > Hi Oleg, > > Thank you for the prompt feedback.  I've checked again on the linked > provided earlier and still the same.  I've also check the svn > (Revision 1837658): > > http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcor > e5/src/examples/org/apache/hc/core5/http/examples/ClassicGetExecution > Example.java > > as seen in the attached pictures (if the attachments are allowed). > > Thank you, > Tommy > Long moved to Git ;) https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/examples/org/apache/hc/core5/http/examples/ClassicGetExecutionExample.java Oleg > > On Wed, Aug 8, 2018 at 2:53 AM Oleg Kalnichevski > wrote: > > On Wed, 2018-08-08 at 00:14 -0700, Tommy Pham wrote: > > > Hello everyone, > > >  > > > I was trying to roll my own web crawler based upon the HTTP > > > Components v5.x > > > for my edification.  I was reviewing the > > ClassicGetExecutionExample: > > >  > > > https://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/example > > s/or > > > g/apache/hc/core5/http/examples/ClassicGetExecutionExample.java > > >  > > > and along with the source code for each class and/or interface > > > utilized. > > > I'm at loss of the SocketConfig.  I see it instantiated and > > > configured to > > > have a socket timeout of 5 seconds but I don't see it utilized > > > anywhere > > > within the example.  Did I misinterpret something? > > >  > > > TIA, > > > Tommy > > > > Hi Tommy > > > > I fixed the example a few days back. > > > > Please take another look. > > > > Cheers > > > > Oleg > > > > ----------------------------------------------------------------- > > ---- > > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > > For additional commands, e-mail: httpclient-users-help@hc.apache.or > > g > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org