RE: Content-Length limited to 2^31-1???

2001-08-30 Thread Martin van den Bemt
tomcat 3.2.3 is not http 1.1.. Mvgr, Martin -Original Message- From: David Daney [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:48 PM To: [EMAIL PROTECTED] Subject: Content-Length limited to 2^31-1??? The problem I am having is that tomcat 3.2.3 seems to (kind

Re: Content-Length limited to 2^31-1???

2001-08-30 Thread Tim O'Neil
At 02:47 PM 8/30/2001, you wrote: The problem I am having is that tomcat 3.2.3 seems to (kind of) limit content length to Integer.MAX_VALUE (2^31-1 or 2GB). If I want to serve very large objects things do not work so well. I seems that ServletResponse.SetContentLength(int) is the prefered

Re: Content-Length limited to 2^31-1???

2001-08-30 Thread Dmitry Rogatkin
You can always provide content length value using setHeader like methods to avoid int limitations. Tomcat shouldn't overwrite header value if it's already set. You can also use chunked out where content length simple ignored for files greater than 2GB. Dmitry R., [EMAIL PROTECTED] Chief