No description
Find a file
Maxim Dounin cda4356a47 Resolver: explicit check for compression pointers in question.
Since nginx always uses exactly one entry in the question section of
a DNS query, and never uses compression pointers in this entry, parsing
of a DNS response in ngx_resolver_process_response() does not expect
compression pointers to appear in the question section of the DNS
response.  Indeed, compression pointers in the first name of a DNS response
hardly make sense, do not seem to be allowed by RFC 1035 (which says
"a pointer to a prior occurance of the same name", note "prior"), and
were never observed in practice.

Added an explicit check to ngx_resolver_process_response()'s parsing
of the question section to properly report an error if compression pointers
nevertheless appear in the question section.
2021-05-25 15:17:50 +03:00
auto Configure: fixed --test-build-epoll on FreeBSD 13. 2021-04-05 20:14:16 +03:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, default highlighting (ticket #2141). 2021-02-25 23:42:25 +03:00
docs nginx-1.20.0-RELEASE 2021-04-20 16:35:46 +03:00
misc Updated OpenSSL used for win32 builds. 2021-03-30 17:44:36 +03:00
src Resolver: explicit check for compression pointers in question. 2021-05-25 15:17:50 +03:00