Forum OpenACS Development: Adding a value for ns/server/${server}/module/nssock maxinput

This parameter was added in aolserver 4 and limits the amount of data read by nssock.

Should we add a value for this to the standard config.tcl. The default is 1mb and it seems like posts/puts larger than that fail more or less silently.

If we do add a value what should it be? There is no "unlimited" value.

There is also a varaible ns/server/${server} maxpost which limits the post length which defaults to 256k but there is a bug in the code which causes it to be ignored.

Thanks for finding this Jeff ... I was about to post a problem report when uploading files over 1MB with AOLServer 4 :)

Since there is no "unlimited", I would say that a limit of 20MB should be more than reasonable. Why 20MB? Well, it's well over the standard word document sizes that I see but not too large and it's around the max size of raw tiffs that you can get from high-end digital SLR's :)

Just my 2 cents.