Hi,

> -----Original Message-----
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Tuesday, December 10, 2013 1:22 AM

> <snip/>

> > Any idea what is going on there? Why would Tomcat create such a big
> > byte array for a static file?
> 
> Lots of things going on here.
> 
> 1. The content of resources was still being cached on access even if it
> was bigger than the maximum object size.
> 
> 2. The test of object size was checking against the total limit for the
> cache rather than the single object limit.
> 
> 3. The DefaultServlet was working on assumptions that were true in the
> 7.0.x resources implementation but not true in the new 8.0.x
> implementation.
> 
> All of the above - and few additional issues spotted along the way -
> have been fixed in trunk.
> 
> Thanks for the report.

Thanks, Mark. I can confirm that with r1549832, downloading the large static 
file works as expected.


Regards,
Konstantin Preißer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to