Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNS_Mgr: Use Process() for timeout expiration
DNS_Mgr has a GetNextTimeout() implementation that may return 0.0. When that is the case, its IO source is enqueued as ready with an fd of -1. This in turn results in Process() being called instead of ProcessFd() in RunState.cc. Ensure timeouts behavior is properly handled by actually forwarding timeout indications to c-ares via DNS_Mgr::Process(). This results in pending DNS queries for which a timeout happened to actually timeout (when there's no other connectivity).
- Loading branch information