Hi, Sleeping in THREAD_PER_CONNECTION mode is fine --- if you want to really just throttle the response generation and basically create latency.
-Christian On 05/19/2017 12:22 AM, Miguel Sancho wrote: > Hi, > using the MHD_USE_THREAD_PER_CONNECTION mode, > are there any issues in "sleeping" the request thread some seconds > waiting for response? any known drawback in MHD? > > for example to wait 4s: > usleep(4000000) > MHD_queue_response (..) > > Thanks
signature.asc
Description: OpenPGP digital signature