tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clam715 <>
Subject Re: Content length when HTTP Transfer-encoding is chunked
Date Tue, 13 Jul 2010 20:49:00 GMT

I have the same problem.  Can anyone tell me how to fix the problem?  I try
to use filter to remove content-length, however it only work for
content-length that is greater than 8k.  for page with less than 8k,
content-length header will always show up.  Thank You

Mahesh Seshan wrote:
> Hello,
> I can obtain the content-length of a HTTP Servlet Request when the
> Content-Length header is added by the client. However, when the
> Transfer-encoding is chunked, how do I programatically obtain the
> content length ?
> The task at hand for me is to prevent a HTTP client from issuing a
> request that has a huge payload that could pose a resource risk on the
> HTTP server.
> Any help or pointers appreciated.
> Thank you,
> -mahesh
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message