diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-29 21:15:50 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-29 21:15:50 -0600 |
commit | 009c2456c15567fcc1baa581ec203e4677956e5c (patch) | |
tree | 5b1718d4557eff526b446f566d3af6cc6090c1dd /tools/version.sh | |
parent | 8f9259450aa43a6fd539e428e61e2961b725fbae (diff) | |
download | musl-awilfox/monotonic-dns.tar.gz musl-awilfox/monotonic-dns.tar.bz2 musl-awilfox/monotonic-dns.tar.xz musl-awilfox/monotonic-dns.zip |
dns: Prefer monotonic clock for DNS lookup timeoutsawilfox/monotonic-dns
Before this commit, DNS timeouts always used CLOCK_REALTIME, which could
produce errors if wall time changed for whatever reason.
Now we try CLOCK_MONOTONIC and only fall back to CLOCK_REALTIME when it
is unavailable.
Diffstat (limited to 'tools/version.sh')
0 files changed, 0 insertions, 0 deletions