[libmicrohttpd] Parsing multipart/formdata

2020-04-21 Thread Markus Doppelbauer
Hello, Is there a reliable way to detect 'continution' in 'MHD_PostDataIterator()'? To detect the beginning of a new variable I have tested: 'off == 0'. But this is not reliable. It is a rare case but sometimes the iterator stops right before the first content-byte (if helpful I will provide a tes

Re: [libmicrohttpd] Parsing multipart/formdata

2020-04-21 Thread Christian Grothoff
Hi Markus, Let me get this straight: The scenario you are concerned with is to distinguish the case that there are possibly two variables with *identical* key / content-type *values* and the first one has an 'empty' value, and the second case is that there is just one value and you got called with

Re: [libmicrohttpd] Parsing multipart/formdata

2020-04-21 Thread Markus Doppelbauer
Hi Christian, No problem. Just a corner case as you say.Thanks a lot for your answer. Best wishes Weitergeleitete Nachricht Von: Christian Grothoff < groth...@gnunet.org>Antwort an: libmicrohttpd development and user mailinglist An: libmicrohttpd@gnu.orgBetreff: Re: [libmicrohttpd