diff src/http/ngx_http_upstream.h @ 2422:7af1e5fe102c

variable support for unix sockets in fastcgi_pass and proxy_pass
author Igor Sysoev <igor@sysoev.ru>
date Tue, 23 Dec 2008 19:35:12 +0000
parents cd6a1abe11a7
children 3a8a53c0c42f
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -209,8 +209,13 @@ typedef struct {
     ngx_str_t                       host;
     in_port_t                       port;
     ngx_uint_t                      no_port; /* unsigned  no_port:1 */
+
     ngx_uint_t                      naddrs;
     in_addr_t                      *addrs;
+
+    struct sockaddr                *sockaddr;
+    socklen_t                       socklen;
+
     ngx_resolver_ctx_t             *ctx;
 } ngx_http_upstream_resolved_t;