Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 91771 invoked from network); 16 Sep 2002 13:59:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 13:59:36 -0000 Received: (qmail 25912 invoked by uid 97); 16 Sep 2002 14:00:12 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 25872 invoked by uid 97); 16 Sep 2002 14:00:11 -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 25860 invoked by uid 98); 16 Sep 2002 14:00:10 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 16 Sep 2002 09:59:30 -0400 Message-Id: <200209161359.JAA16496@www23.ureach.com> To: "Ryan Hoegg" From: otisg Reply-to: Subject: Re: Re: [httpclient] max response size Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-vsuite-type: e X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >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? Response idea is a must, but it's not really the same thing. :) Thanks, Otis ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag -- To unsubscribe, e-mail: For additional commands, e-mail: