Files
dnswatcher/internal/resolver
sneak 9f4cf7c6c4
check / check (push) Waiting to run
resolver: a query cut short by the caller's context records no reason (closes #298)
When the caller's context ends, the next query returns
ErrContextCanceled before anything is sent. querySingleType recorded
that as a network error, which outranks a timeout, so a nameserver that
had only timed out could be reported as "network error: context
canceled". It now records no reason for it.

A try the context's deadline cuts short ends as a timeout. When the
context has ended before a further try, tryExchange now returns that
try's error instead of ErrContextCanceled, so such a nameserver is
reported as timed out, not as answering.

Model: opus-5-5
2026-10-15 17:23:31 +00:00
..