Subject: | Storing big uploads to a file |
Because CGI::Minimal reads complete request into a memory:
$read_bytes = read(STDIN, $buffer, $read_length,0)
this can be a problem if you want to allow large uploads as then memory
is consumed for a long time (while the user is uploading). It should use
some temporary file to store big uploads (use a mmaped temporary file?).