Re: How to upload Files larger than 2GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

 thanks for the reply. The mentioning of "Chunked" helped me solve the problem. Our perl based REST client clearly tried to send the file as one buffer. Fortunately changing that was on line of code.



>
> Then looking at the Tomcat configuration. The HTTP connector (working)
> looks like this:
>
>     <Connector port="9695" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                maxPostSize="209715200"
>                redirectPort="8443" />
>
> Which makes me wonder why it works. It should bail out at 200 MB.

That limit only applies to the automated processing of request bodies as
per section 3.1.1 of the Servlet 4.0 specification.

If the application (or a library it uses) reads the request body
directly, there is no limit. The application is meant to provide
whatever limits it considers appropriate.


Thanks for clarifying that.
 
I wonder if httpd/mod_jk is trying cache the entire request body before
forwarding. How is the request sent? With chunked-encoding or with a
content-length? Does switching to the other one help?


 Apparently with content-length. Changing to "chunked" solved it.

Thanks again
Martin
--
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux