You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by tobr <de...@tobr.eu> on 2010/08/30 19:24:06 UTC

ContentTooLongException

Hi Oleg,

on one of the last changes you added support for a max body length to prevent DoS.
http://svn.apache.org/viewvc?view=revision&revision=983393

Now, many of our larger files (mostly pdf) are not indexed any more and we get a ContentTooLongException.
I fixed it by changing the value of
MAX_BODY_LENGTH
in
org.apache.droids.protocol.http.DroidsHttpClient

Is there a way to change the maximum body length in a property file?

Thanks 
Tobias