comparison src/core/ngx_connection.h @ 448:76a79816b771 NGINX_0_7_36

nginx 0.7.36 *) Feature: a preliminary IPv6 support; the "listen" directive of the HTTP module supports IPv6. *) Bugfix: the $ancient_browser variable did not work for browsers preset by a "modern_browser" directives.
author Igor Sysoev <http://sysoev.ru>
date Sat, 21 Feb 2009 00:00:00 +0300
parents 6ebbca3d5ed7
children bb941a2996a6
comparison
equal deleted inserted replaced
447:40964c811e59 448:76a79816b771
17 struct ngx_listening_s { 17 struct ngx_listening_s {
18 ngx_socket_t fd; 18 ngx_socket_t fd;
19 19
20 struct sockaddr *sockaddr; 20 struct sockaddr *sockaddr;
21 socklen_t socklen; /* size of sockaddr */ 21 socklen_t socklen; /* size of sockaddr */
22 size_t addr; /* offset to address in sockaddr */
23 size_t addr_text_max_len; 22 size_t addr_text_max_len;
24 ngx_str_t addr_text; 23 ngx_str_t addr_text;
25 24
26 int type; 25 int type;
27 26
121 120
122 #if (NGX_SSL) 121 #if (NGX_SSL)
123 ngx_ssl_connection_t *ssl; 122 ngx_ssl_connection_t *ssl;
124 #endif 123 #endif
125 124
126 #if (NGX_HAVE_IOCP)
127 struct sockaddr *local_sockaddr; 125 struct sockaddr *local_sockaddr;
128 socklen_t local_socklen; 126 socklen_t local_socklen;
129 #endif
130 127
131 ngx_buf_t *buffer; 128 ngx_buf_t *buffer;
132 129
133 ngx_atomic_uint_t number; 130 ngx_atomic_uint_t number;
134 131