HTTP Content-Length
Trustin Lee
tlee at redhat.com
Fri May 8 08:47:53 EDT 2009
I've just checked in the fix: https://jira.jboss.org/jira/browse/NETTY-151
Thanks for reporting this issue :)
— Trustin Lee, http://gleamynode.net/
On Tue, May 5, 2009 at 8:06 AM, David Hoyt <dhoyt at llnl.gov> wrote:
>
> When parsing content-length HTTP headers, you use Integer.parseInt(...). We
> actually have content whose length is > Integer.MAX_VALUE and as a result we
> get exceptions when trying to download it through netty. Changing this to
> using longs would solve the problem. I believe java.io.File returns a long
> for .length(). So matching that would be helpful.
>
> Thanks, btw, for all the hard work and a great product!
> --
> View this message in context: http://n2.nabble.com/HTTP-Content-Length-tp2789983p2789983.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list