Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Use proper timers in sleepAsync. #8209
@Araq The only thing I would use timers for in httpbeast is to refresh the current server time (sadly, the HTTP spec mandates that it is sent with each request...). I'm already using the OS timers for that. I can change it to use sleepAsync pre-this-PR if that's what you mean?
Let's say there's a high load HTTP server that proxies a request to another server (not necessarily HTTP), and has to return a timeout error page in case of timeout. Likely it will use