At the moment, it loads the whole content into a stream for processing line by line.

It is possible to create a patch to not do processing (exception, error message, trigger an event handler, etc.) if the ContentLength exceeds a specified size.


Leonardo M. Ramé wrote:
Hi, I'm looking at httpdefs.pp file from FCL-Web and found that it handles 
multipart/form-data. I've been using a 3rd party parser for this kind of data, 
but it lacks of a good method of parsing large file uploads.

My question is: ProcessMultipart method, handles the parsing in chunks of data, 
instead of loading the whole data into memory?.

Thanks in advance,
Leonardo.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to