diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2016-03-23 17:44:36 +0300 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2016-03-23 17:44:36 +0300 |
commit | 98f222c6c115e578d95cf7cf4e657dac32d0f44c (patch) | |
tree | 281c7e5cb5b35dba3a6b1f5f2930eca4dbc0198e /src/core/ngx_resolver.h | |
parent | 0f4315f998bfedbd478c8215994414f1526bfd40 (diff) |
Resolver: introduced valid field in resolver responses.
It hints the amount of time a response could be considered
as valid.
Diffstat (limited to 'src/core/ngx_resolver.h')
-rw-r--r-- | src/core/ngx_resolver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_resolver.h b/src/core/ngx_resolver.h index 3165abd49..3e93f4dac 100644 --- a/src/core/ngx_resolver.h +++ b/src/core/ngx_resolver.h @@ -164,6 +164,7 @@ struct ngx_resolver_ctx_s { ngx_int_t state; ngx_str_t name; + time_t valid; ngx_uint_t naddrs; ngx_addr_t *addrs; ngx_addr_t addr; |