Hi Santos. I'm not sure if you want chunked transfer-encoding or something like byte serving <https://en.wikipedia.org/wiki/Byte_serving> (range requests). There is a small example showing how to send chunked data to the client here:
https://gnunet.org/git/libmicrohttpd.git/tree/src/examples/chunked_example.c But, if you want byte-serving, it is not present in the MHD, however it can be implemented on your library/application following the examples in the rfc7233: https://tools.ietf.org/html/rfc7233 Cheers! On Wed, Nov 28, 2018 at 12:12 PM Santos Das <santos....@gmail.com> wrote: > Hi, > > How can MHD send the chunked message to the client ? > > When a server receives a simple GET request, and the response is so large > that it must be sent back using the "chunked" procedure. > > An example would be if a server received a file GET request, and the > response is a large data file. > > Can you please point me to some example on how this can be done using MHD ? > > Thanks in advance. > > Regards, Santos > -- Silvio Clécio