On 06/25/2015 02:28 PM, Markus Doppelbauer wrote: > Hello, > > Is it allowed/safe to suspend a connection via > "MHD_suspend_connection()" inside a > "MHD_ContentReaderCallback()" handler?
Yes. > I am asking because > a) the docs say: > "The only safe time to suspend a connection is from the > MHD_AccessHandlerCallback." We should clarify that. > b) the "MHD_ContentReaderCallback()" does not have a "connection" parameter. Well, you'll need to pass/get it via the 'void *cls' somehow... -Christian
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
