Hi!

I need to abort the request handler in my module after a timeout.
What is the proper way to do it? Do I have to poll for the current time? How can I set an alarm?

request_handler(request_rec* r) {
...

while () {

 .. do some time demanding processing
 if (timeout)
   return HTTP_SERVICE_TEMPORARY_UNAVAILABLE; // or whatever

 }

...

}

Thanks,
Gabriel

Reply via email to