nginx/src
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
..
core Resolver: explicit check for compression pointers in question. 2021-05-25 15:17:50 +03:00
event Introduced the "keepalive_time" directive. 2021-04-08 00:15:48 +03:00
http Location header escaping in redirects (ticket #882). 2021-05-24 21:55:20 +03:00
mail Mail: max_errors directive. 2021-05-19 03:13:31 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Restored zeroing of ngx_channel_t in ngx_pass_open_channel(). 2021-04-22 16:12:52 +03:00
stream Stream: the "fastopen" parameter of the "listen" directive. 2021-05-20 19:59:16 +03:00