mirror of https://github.com/c-ares/c-ares.git
Convert total timeout to per-query (#467)
On Apple platforms, libresolv reports the total timeout in retrans, not the per-query time. This patch undoes that math to get the per-query time, which is what c-ares expects. This is not perfect because libresolv is inconsistent on whether the timeout is multiplied by retry or retry+1, but I don't see any way to distinguish these cases. Fix By: Marc Aldorasi (@marc-groundctl)pull/474/head
parent
e20215ab93
commit
afee6748b0
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue