We have a portal for our customers that allow them to start new projects directly on our platform. The problem is that we cannot upload documents bigger than 10MO.
Every time I try to upload a file bigger than 10Mo, I have a "The connection was reset" error. After some research it seems that I need to change the max size for uploads but I don't know where to do it. I'm on CentOS 6.4/RedHat with AOL Server. Language: TCL.
Anyone has an idea on how to do it?
EDIT
In the end I could solve the problem with the command ns_limits set default -maxupload 500000000.
In your
config.tcl, add the following line to thenssockmodule section:It is also advised to constrain the upload times, by setting:
If running on top of
nsopenssl, you will have to set those configuration values (maxinput,recvwait) in a different section.