comparison src/http/modules/ngx_http_realip_module.c @ 542:2b9e388c61f1 NGINX_0_8_23

nginx 0.8.23 *) Security: now SSL/TLS renegotiation is disabled. Thanks to Maxim Dounin. *) Bugfix: listen unix domain socket did not inherit while online upgrade. *) Bugfix: the "unix:" parameter of the "set_real_ip_from" directive did not without yet another directive with any IP address. *) Bugfix: segmentation fault and infinite looping in resolver. *) Bugfix: in resolver. Thanks to Artem Bokhan.
author Igor Sysoev <http://sysoev.ru>
date Wed, 11 Nov 2009 00:00:00 +0300
parents c04fa65fe604
children 40c366b3535c
comparison
equal deleted inserted replaced
541:8da5668048b4 542:2b9e388c61f1
124 return NGX_DECLINED; 124 return NGX_DECLINED;
125 } 125 }
126 126
127 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_realip_module); 127 rlcf = ngx_http_get_module_loc_conf(r, ngx_http_realip_module);
128 128
129 if (rlcf->from == NULL) { 129 if (rlcf->from == NULL
130 #if (NGX_HAVE_UNIX_DOMAIN)
131 && !rlcf->unixsock
132 #endif
133 )
134 {
130 return NGX_DECLINED; 135 return NGX_DECLINED;
131 } 136 }
132 137
133 switch (rlcf->type) { 138 switch (rlcf->type) {
134 139