incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobr <...@tobr.eu>
Subject ContentTooLongException
Date Mon, 30 Aug 2010 19:24:06 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message