[Top][All Lists]

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

Re: [libmicrohttpd] Own data buffer

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Own data buffer
Date: Fri, 20 Sep 2019 18:04:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Dear Daniel,

Currently, there is no MHD API to allow that. However, I'm not against
constructive proposals towards making this possible.

Happy hacking!


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

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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