Log In | Users | Register
Welcome to Foswiki... Users, Groups
Go
Edit | Attach | New | Raw | Delete | History | Print | Tools

Synopsis: When downloading a file from the Web you encounter a "Content Length Exceeded" message.

By default, CensorNet imposes a maximum download file size of 32Mb. This is defined in the /etc/cnv4/cn_proxy.xml file:

<MaxRequestSize>33554432</MaxRequestSize>

In order for CensorNet to filter downloaded content, it must first read all the data into memory. If there was no limit, then potentially the RAM in the CensorNet server could be exhausted by a handful of users downloading large files. Therefore it is not recommended that you change the default limit of 32Mb.

Instead, you should use the File Type Filter, MIME Type Filter and Custom URL module to allow specific file types. These rules will not be subject to the 32Mb limit however you should create them wisely!

-- TimLloyd - 13 Feb 2009

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Syndicate this site RSSATOM