commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Hoegg <rho...@isisnetworks.net>
Subject Re: [httpclient] max response size
Date Mon, 16 Sep 2002 05:30:33 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message