libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] How to send Chunked messages


From: silvioprog
Subject: Re: [libmicrohttpd] How to send Chunked messages
Date: Wed, 28 Nov 2018 12:39:06 -0300

Hi Santos.

I'm not sure if you want chunked transfer-encoding or something like byte serving (range requests). There is a small example showing how to send chunked data to the client here:


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:


Cheers!

On Wed, Nov 28, 2018 at 12:12 PM Santos Das <address@hidden> 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

reply via email to

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