The official NGINX Open Source repository.
Go to file
Maxim Dounin e860ecce82 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 application/wasm type (ticket #1606). 2021-05-08 20:31:03 +03:00
contrib Contrib: vim syntax, default highlighting (ticket #2141). 2021-02-25 23:42:25 +03:00
docs nginx-1.19.10-RELEASE 2021-04-13 18:13:58 +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
.hgtags release-1.19.10 tag 2021-04-13 18:13:59 +03:00