On 27-11-2009 at 18:52, Freddy Daoud wrote:
> Indeed, it is the total size of the request data, including all
> uploaded files, request parameters, request headers. This is a
> limitation of the HTTP specification. Before processing a request, the
> only information that’s available is the total size of the request
> data.

From a network transfer point of view, this makes most sense, as the upload
limit is not meant as a validation (i.e. no file should be more than 10MB).
It's to prevent a DoS, abuse of memory, ... <insert other nastyness here>.

Unfortunately we have to translate this to terms a user understands. As a
result, I usually report a megabyte less than the actual memory. I say the
limit is 30MB while I configure 31MB. Enforcing a strict limit of 30MB can
always be added as a validation.


Oscar

-- 
   ,-_  Oscar Westra van Holthe - Kind      http://www.xs4all.nl/~kindop/
  /() )
 (__ (  The haves and the have-nots can often be traced back to the
=/  ()  dids and the did-nots.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to