-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 4/10/12 1:46 PM, Konstantin Kolinko wrote:
> 2). Uploading test1.war (>2Gb):
> 
> Both Tomcat 6 and Tomcat 7 close request immediately, responding
> with status 400.
> 
> Looking into access log I see wrong value of content-length header 
> from the request. The value is different between Firefox and IE,
> but both are wrong, being negative. (Apparently the browsers have
> different coding for "multipart/form-data", with different
> overhead).  The values are the same for Tomcat 6 and 7.
> 
> This is from Tomcat 7 access log:
> 
> [[[ 127.0.0.1 - - [10/Apr/2012:21:08:31 +0400] "POST 
> /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=B5B161E96A5566CCE5FA70AB6477B2B9
>
> 
HTTP/1.1" 400 - in:[-1980123022] out:[-]
> 
> 127.0.0.1 - - [10/Apr/2012:21:09:24 +0400] "POST 
> /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=2B89705754F848DE99DED1259DC376C1
>
> 
HTTP/1.1" 400 - in:[-198012301] out:[-]
> ]]]
> 
> The first negative value is from Firefox. The second one is from
> IE.

This page seems to suggest that uploading files larger than 2GiB is
problematic in most web browsers:
http://www.motobit.com/help/scptutl/pa98.htm

Firefox definitely cannot currently upload files bigger than 2^31-1
bytes: https://bugzilla.mozilla.org/show_bug.cgi?id=215450

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+Ee2IACgkQ9CaO5/Lv0PCfPgCcC8n6VoRjx6POYn+tOzx43HMM
0C8An2gfF3rNv8TCTjD5dUKPUWwYEwV0
=wd94
-----END PGP SIGNATURE-----

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

Reply via email to