Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2016-01-28 15:28:20 +0300
committerRoman Arutyunyan <arut@nginx.com>2016-01-28 15:28:20 +0300
commit1945fff7bfee1eef23933faa0ccfbe05445dcfe1 (patch)
treee76ea243e46da6d9f704861fc9700a42f639007d /src/core/ngx_resolver.h
parent52d3601155cf55604d73c266bb7ea1b3ac91143c (diff)
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.h6
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;