comparison src/core/ngx_inet.h @ 492:98143f74eb3d NGINX_0_7_58

nginx 0.7.58 *) Feature: a "listen" directive of the mail proxy module supports IPv6. *) Feature: the "image_filter_jpeg_quality" directive. *) Feature: the "client_body_in_single_buffer" directive. *) Feature: the $request_body variable. *) Bugfix: in ngx_http_autoindex_module in file name links having a ":" symbol in the name. *) Bugfix: "make upgrade" procedure did not work; the bug had appeared in 0.7.53. Thanks to Denis F. Latypoff.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 May 2009 00:00:00 +0400
parents a8424ffa495c
children 1dcf6adad484
comparison
equal deleted inserted replaced
491:bb2281a3edb6 492:98143f74eb3d
59 #endif 59 #endif
60 } u; 60 } u;
61 } ngx_cidr_t; 61 } ngx_cidr_t;
62 62
63 63
64 typedef union {
65 in_addr_t in_addr;
66 } ngx_url_addr_t;
67
68
69 typedef struct { 64 typedef struct {
70 struct sockaddr *sockaddr; 65 struct sockaddr *sockaddr;
71 socklen_t socklen; 66 socklen_t socklen;
72 ngx_str_t name; 67 ngx_str_t name;
73 } ngx_peer_addr_t; 68 } ngx_peer_addr_t;
89 unsigned one_addr:1; 84 unsigned one_addr:1;
90 85
91 unsigned no_port:1; 86 unsigned no_port:1;
92 unsigned wildcard:1; 87 unsigned wildcard:1;
93 88
94 ngx_url_addr_t addr;
95
96 socklen_t socklen; 89 socklen_t socklen;
97 u_char sockaddr[NGX_SOCKADDRLEN]; 90 u_char sockaddr[NGX_SOCKADDRLEN];
98 91
99 ngx_peer_addr_t *addrs; 92 ngx_peer_addr_t *addrs;
100 ngx_uint_t naddrs; 93 ngx_uint_t naddrs;