Dear Christian
Could you, please, remove my e-Mail address from this distribution list?
Thanks in advance
Viktor
On Thu, 17 Nov 2022 at 17:10, Christian Grothoff
wrote:
> On 11/17/22 14:24, lingweicai via libmicrohttpd wrote:
> > Hello Experts,
> >
> >
> > I am developing a web tool, Can I def
Hi Christian,
Sounds like you should be using MHD_create_response_from_iovec(). That
> way, you can avoid the memcpy() entirely.
>
I took a look at MHD_create_response_from_iovec, but I'm not sure if that
works for my circumstance because it doesn't use a callback. The data from
the driver isn't
On 11/17/22 14:24, lingweicai via libmicrohttpd wrote:
Hello Experts,
I am developing a web tool, Can I define variable of char array for a page in
the function containing MHD_create_response_from_buffer, with flag of
MHD_RESPMEM_PERSISTENT? or I must use the flag of MUST_COPY ?
for example:
Hello Experts, I am developing a web tool, Can I define variable of char array for a page in the function containing MHD_create_response_from_buffer, with flag of MHD_RESPMEM_PERSISTENT? or I must use the flag of MUST_COPY ? for example: send_page ( char * str ) {char page[1024];strcpy ( pa
Dear Dan,
Sounds like you should be using MHD_create_response_from_iovec(). That
way, you can avoid the memcpy() entirely.
Happy hacking!
Christian
On 11/17/22 08:27, Dan Inve wrote:
Hi,
I'm using libmicrohttpd to respond to an HTTP request for a large amount of
data (sometimes GBs) using
Hi,
I'm using libmicrohttpd to respond to an HTTP request for a large amount of
data (sometimes GBs) using external select
and MHD_create_response_from_callback with a known size. The data is
sourced from hardware via a kernel driver. When the HTTP request is
received, data is requested from the h
Hi,
I'm using libmicrohttpd to respond to an HTTP request for a large amount of
data (sometimes GBs) using external select
and MHD_create_response_from_callback with a known size. The data is
sourced from hardware via a kernel driver. When the HTTP request is
received, data is requested from the h