You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mary Kay <mk...@hotmail.com> on 2001/04/03 02:24:01 UTC
content-length limited to an int?
Hi,
Is anyone else having problems with content-length using an int? If I try
to serve any files > 4gig, the content-length returned is incorrect (I
assume the cutoff is 2 gig since ints are signed in java, but I have only
tested > 4gig files). I took a quick look at the source code, found a
method called getHeaderInt() which surely looks the culprit and is surely
doing an Integer.parseInt() to get the value.
This looks cut and dry to me, am I missing anything?
Thanks.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com