On 09/18/2018 02:43 PM, Santos Das wrote: > Thanks Christian. Looks like you answered this question for Kunal Ekwade > already. Thank you. > > But, still not clear from your reply, is it equal to the receive buffer > size ?
MHD uses "whatever is left" (minus some reserves depending on what phase processing is in) -- first for the receive buffer, and later for the send buffer (re-using space from the receive buffer). In both cases it is minus headers (headers sent and headers received!) and management data structures. The objective is simple: we must not use more than the memory limit per connection, and within that constraint we make the buffers as big as we (safely) can.
0x939E6BE1E29FC3CC.asc
Description: application/pgp-keys
