[nginx] Resolver: style.

Roman Arutyunyan arut at nginx.com
Tue Feb 2 10:53:49 UTC 2016


On Tue, Feb 02, 2016 at 10:48:09AM +0000, Ruslan Ermilov wrote:
> details:   http://hg.nginx.org/nginx/rev/a6a5bacf6b74
> branches:  
> changeset: 6372:a6a5bacf6b74
> user:      Ruslan Ermilov <ru at nginx.com>
> date:      Thu Dec 17 17:30:22 2015 +0300
> description:
> Resolver: style.
> 
> Use the original query name in error and debug messages when
> processing PTR responses.

[..]

On Tue, Feb 02, 2016 at 10:48:06AM +0000, Ruslan Ermilov wrote:
> details:   http://hg.nginx.org/nginx/rev/33c4d319f08f
> branches:  
> changeset: 6371:33c4d319f08f
> user:      Ruslan Ermilov <ru at nginx.com>
> date:      Thu Dec 17 17:21:16 2015 +0300
> description:
> Resolver: improved PTR response processing.
> 
> The previous code only parsed the first answer, without checking its
> type, and required a compressed RR name.
> 
> The new code checks the RR type, supports responses with multiple
> answers, and doesn't require the RR name to be compressed.
> 
> This has a side effect in limited support of CNAME.  If a response
> includes both CNAME and PTR RRs, like when recursion is enabled on
> the server, PTR RR is handled.
> 
> Full CNAME support in PTR response is not implemented in this change.

[..]

On Tue, Feb 02, 2016 at 10:48:04AM +0000, Ruslan Ermilov wrote:
> details:   http://hg.nginx.org/nginx/rev/8c8739bdd3f1
> branches:  
> changeset: 6370:8c8739bdd3f1
> user:      Ruslan Ermilov <ru at nginx.com>
> date:      Thu Dec 17 17:21:12 2015 +0300
> description:
> Resolver: style.
> 
> Renamed argument in ngx_resolver_process_a() for consistency.

Эти патчи смотрел.

-- 
Roman Arutyunyan



More information about the nginx-devel mailing list