[Top][All Lists]

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

Re: [libmicrohttpd] Question on Async support

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Question on Async support
Date: Fri, 24 Aug 2018 16:40:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 08/24/2018 04:12 PM, Santos Das wrote:
> Hi,
> Thanks for the prompt reply. I have few more questions., kindly see if
> you could help.
> a. Does this have a transaction scoreboarding capability (e.g., to match
> up asynchronous operations)?   The use of the passed argument *cls seems
> to imply this?   That is, when you get an inbound transation you
> allocate a tracking object in application space and hand its pointer to
> libhttpd so that it can give it back to you later (i.e., you are giving
> the response and it asynchronously asks for the next chunk of bytes in
> the response).

I'm not sure I'd call this scoreboarding, but yes, the 'cls' is there so
that the application can associate state with the request for later

> b. Does it support chunk-encoding of responses?


> c. Does MHD has inbuilt JSON encode/decode capabilities ?

No, but easy to add by linking against libjanson.


reply via email to

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