]> git.kaiwu.me - nginx.git/commit
Resolver: simplified ngx_resolver_copy().
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 May 2021 12:17:45 +0000 (15:17 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 25 May 2021 12:17:45 +0000 (15:17 +0300)
commitf85d7016949b34119b5f4c53ddbfac4f199b4343
treea5894d1f67c693637f43fac8f3bfad4cb4c6cfe7
parentf1dd1d50e090b32a765295daea5f167f1077d706
Resolver: simplified ngx_resolver_copy().

Instead of checking on each label if we need to place a dot or not,
now it always adds a dot after a label, and reduces the resulting
length afterwards.
src/core/ngx_resolver.c