comparison 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
comparison
equal deleted inserted replaced
2421:8f0f1d151f14 2422:7af1e5fe102c
207 207
208 typedef struct { 208 typedef struct {
209 ngx_str_t host; 209 ngx_str_t host;
210 in_port_t port; 210 in_port_t port;
211 ngx_uint_t no_port; /* unsigned no_port:1 */ 211 ngx_uint_t no_port; /* unsigned no_port:1 */
212
212 ngx_uint_t naddrs; 213 ngx_uint_t naddrs;
213 in_addr_t *addrs; 214 in_addr_t *addrs;
215
216 struct sockaddr *sockaddr;
217 socklen_t socklen;
218
214 ngx_resolver_ctx_t *ctx; 219 ngx_resolver_ctx_t *ctx;
215 } ngx_http_upstream_resolved_t; 220 } ngx_http_upstream_resolved_t;
216 221
217 222
218 typedef void (*ngx_http_upstream_handler_pt)(ngx_http_request_t *r, 223 typedef void (*ngx_http_upstream_handler_pt)(ngx_http_request_t *r,