diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2016-01-28 15:28:20 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2016-01-28 15:28:20 +0300 |
| commit | 1945fff7bfee1eef23933faa0ccfbe05445dcfe1 (patch) | |
| tree | e76ea243e46da6d9f704861fc9700a42f639007d /src/core/ngx_resolver.h | |
| parent | 52d3601155cf55604d73c266bb7ea1b3ac91143c (diff) | |
| download | nginx-1945fff7bfee1eef23933faa0ccfbe05445dcfe1.tar.gz nginx-1945fff7bfee1eef23933faa0ccfbe05445dcfe1.tar.bz2 | |
Resolver: renamed UDP-specific structures, fields and variables.
They will be used for TCP connections as well.
Diffstat (limited to 'src/core/ngx_resolver.h')
| -rw-r--r-- | src/core/ngx_resolver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_resolver.h b/src/core/ngx_resolver.h index 424cd731a..5aedabfaa 100644 --- a/src/core/ngx_resolver.h +++ b/src/core/ngx_resolver.h @@ -37,12 +37,12 @@ typedef struct { - ngx_connection_t *connection; + ngx_connection_t *udp; struct sockaddr *sockaddr; socklen_t socklen; ngx_str_t server; ngx_log_t log; -} ngx_udp_connection_t; +} ngx_resolver_connection_t; typedef struct ngx_resolver_ctx_s ngx_resolver_ctx_t; @@ -107,7 +107,7 @@ typedef struct { ngx_int_t ident; /* simple round robin DNS peers balancer */ - ngx_array_t udp_connections; + ngx_array_t connections; ngx_uint_t last_connection; ngx_rbtree_t name_rbtree; |
