From: Michał Kępień Date: Mon, 25 May 2020 12:34:56 +0000 (+0200) Subject: Improve the "hint" variable comment X-Git-Tag: v9.17.2~60^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb123df2b21b8e5d7f89d0ccf070a6536ef7425e;p=thirdparty%2Fbind9.git Improve the "hint" variable comment Replace an existing comment with a more verbose explanation of when the "hint" variable is set in resquery_send() and how its value affects the advertised UDP buffer size in outgoing queries. --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 99278a177ff..e97bc41b5dc 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -2643,7 +2643,12 @@ resquery_send(resquery_t *query) { } /* - * We have talked to this server before. + * This server timed out for the first time in this + * fetch context and we received a response from it + * before (either in this fetch context or in a + * different one). Set 'udpsize' to the size of the + * largest UDP response we have received from this + * server so far. */ if (hint != 0U) { udpsize = hint;