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 continuations. > b. Does it support chunk-encoding of responses? Yes. > c. Does MHD has inbuilt JSON encode/decode capabilities ? No, but easy to add by linking against libjanson. -Christian
