libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Confused about MHD_PostDataIterator


From: John Lee
Subject: [libmicrohttpd] Confused about MHD_PostDataIterator
Date: Sat, 27 Mar 2010 15:35:19 +0000

Hello there,
I know that MHD_PostDataIterator is meant to iterate through the different parts / entities in a single HTTP message body (i.e. multi-part/form). However, is it meant to iterate through other types of POST messages also:

1) For chunked transfer encoding, are the chunks meant to be forwarded to MHD_PostDataIterator for re-assembly? Alternatively, is this re-assembly meant to be done using upload_data and *upload_data_size of MHD_AccessHandlerCallback?

2) If a POST message comes in that is greater that POSTBUFFERSIZE (setting for MHD internal buffering) does, this mean that MHD shall break the message into chunks of max size POSTBUFFERSIZE? In this case, is the data sent to MHD_PostDataIterator for putting the chunks all together? Again maybe these chunks are meant to be re-assembled using upload_data and *upload_data_size of MHD_AccessHandlerCallback?

BRs //John.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]