Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 50914 invoked from network); 16 Sep 2002 05:31:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 05:31:34 -0000 Received: (qmail 23588 invoked by uid 97); 16 Sep 2002 05:32:19 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 23553 invoked by uid 97); 16 Sep 2002 05:32:18 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 23531 invoked by uid 98); 16 Sep 2002 05:32:18 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3D856C79.8080305@isisnetworks.net> Date: Mon, 16 Sep 2002 01:30:33 -0400 From: Ryan Hoegg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [httpclient] max response size References: <200209152007.QAA05768@www23.ureach.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N otisg wrote: >Is it possible to specify the max number of >bytes to retrieve from a response? Consider >the case where HttpClient can fall into a >'crawler trap', or simply encounter a >response with no end. This would break an >application using HttpClient. >So I'm wondering if developers think that it >would be good to have the ability to >restrict the size of retrieved response to >some number of bytes, built into HttpClient? > I am not a committer, but I think this functionality is not in the package as yet. I think this is a potentially useful idea, but another way to do it is with a response timeout instead of a maximum size. Any committers want to jump in? -- Ryan Hoegg ISIS Networks -- To unsubscribe, e-mail: For additional commands, e-mail: