[libmicrohttpd] Processing single request with data from heap

2017-06-18 Thread Alex Reynolds
I have some request handler code that sends the contents of a regular file to the client. However, the issue is that my program must first write a regular file to the file system, and this is time consuming for very large files. My program (and the client) must wait for the entire file to be genera

Re: [libmicrohttpd] Processing single request with data from heap

2017-06-18 Thread Christian Grothoff
MHD_create_response_from_callback() is the API you are looking for. src/examples/chunked_example.c (and various others) is one example for how this API is used. Admittedly, it's not in the tutorial (yet), and I agree it would be good to add it. On 06/18/2017 10:38 AM, Alex Reynolds wrote: > I have

[libmicrohttpd] Add 'manywarnings' module from Wget2

2017-06-18 Thread Tim Rühsen
Hi, maybe you like this... "Add m4/wget_manywarnings This enables (if switched on) basically all warnings for gcc and clang. Exceptions are explicitly controlled in configure.ac. To enable by default: create a file '.manywarnings' Enable explicitly : ./configure --enable-man