Changeset 6714:c3e3de6d2672 in nginx


Ignore:
Timestamp:
09/29/16 16:40:47 (4 years ago)
Author:
Dmitry Volyntsev <xeioex@…>
Branch:
default
Phase:
public
Message:

Resolver: introduced state field in ngx_resolver_srv_name_t.

It keeps the actual state value of a DNS SRV subrequest
and can be used to report a more detailed log for
failed SRV records.

Location:
src/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_resolver.c

    r6593 r6714  
    30073007
    30083008    srv->ctx = NULL;
     3009    srv->state = cctx->state;
    30093010
    30103011    if (cctx->naddrs) {
  • src/core/ngx_resolver.h

    r6458 r6714  
    8383
    8484    ngx_resolver_ctx_t       *ctx;
     85    ngx_int_t                 state;
    8586
    8687    ngx_uint_t                naddrs;
Note: See TracChangeset for help on using the changeset viewer.