[mod_python] file upload very slow in fieldStorage

Nicolas Lehuen nicolas.lehuen at gmail.com
Fri Mar 25 16:52:40 EST 2005


I've entered this in the JIRA bug repository :

http://issues.apache.org/jira/browse/MODPYTHON-40

Regards,
Nicolas


On Fri, 25 Mar 2005 14:20:42 -0600, Nick <nick at dd.revealed.net> wrote:
> Nicolas Lehuen wrote:
> > Like I've wrote in another mail, FieldStorage will stream only if the
> > Content-Disposition header of the file part of the POST entity
> > contains a filename attribute (see mod_python/util.py line 169). Maybe
> > we should change this behaviour :
> >
> > 1) Always stream to disk unless told otherwise
> 
> I would agree this should be done.  Regardless of whether HTTP should or
> should not be used for huge file uploads, it does leave you open to DoS.
> 
> Nick
>


More information about the Mod_python mailing list