mirror of https://git.musl-libc.org/git/musl
Browse Source
Before this commit, DNS timeouts always used CLOCK_REALTIME, which could produce spurious timeouts or delays if wall time changed for whatever reason. Now we try CLOCK_MONOTONIC and only fall back to CLOCK_REALTIME when it is unavailable.master
committed by
Rich Felker
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue