Hi Christian, Thanks for the response. That is not great but at least I know where things are. I will peek into the code and if I have neat enough solution I will not hesitate to share and contribute.
Kind regards, Daniel On Fri, 20 Sep 2019 at 17:28, Christian Grothoff <groth...@gnunet.org> wrote: > Dear Daniel, > > Currently, there is no MHD API to allow that. However, I'm not against > constructive proposals towards making this possible. > > Happy hacking! > > Christian > > On 9/20/19 4:43 PM, Daniel Bujnik wrote: > > Hello, > > > > Currently as far as I understand libmicrohttpd provides data being > > uploaded in multiple callbacks with the size and pointer to a buffer > > from which the user can copy data from. Is there any way the data could > > be uploaded straight into a user defined buffer? I do not care that much > > about the HTTP header but the binary data, which follows it has size > > counted in 10s of MBs and it would be really more efficient to avoid > > this extra copy. > > > > Any hint or help would be much appreciated. > > > > Kind regards, > > Daniel > >