Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_cycle.c @ 538:1dcf6adad484 NGINX_0_8_21
nginx 0.8.21
*) Feature: now the "-V" switch shows TLS SNI support.
*) Feature: the "listen" directive of the HTTP module supports unix
domain sockets.
Thanks to Hongli Lai.
*) Feature: the "default_server" parameter of the "listen" directive.
*) Feature: now a "default" parameter is not required to set listen
socket options.
*) Bugfix: nginx did not support dates in 2038 year on 32-bit platforms;
*) Bugfix: socket leak; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 00:00:00 +0300 |
parents | 005a70f9573b |
children | be4f34123024 |
comparison
equal
deleted
inserted
replaced
537:3ca2e495d9de | 538:1dcf6adad484 |
---|---|
202 if (cycle->hostname.data == NULL) { | 202 if (cycle->hostname.data == NULL) { |
203 ngx_destroy_pool(pool); | 203 ngx_destroy_pool(pool); |
204 return NULL; | 204 return NULL; |
205 } | 205 } |
206 | 206 |
207 ngx_memcpy(cycle->hostname.data, hostname, cycle->hostname.len); | 207 ngx_strlow(cycle->hostname.data, (u_char *) hostname, cycle->hostname.len); |
208 | 208 |
209 | 209 |
210 for (i = 0; ngx_modules[i]; i++) { | 210 for (i = 0; ngx_modules[i]; i++) { |
211 if (ngx_modules[i]->type != NGX_CORE_MODULE) { | 211 if (ngx_modules[i]->type != NGX_CORE_MODULE) { |
212 continue; | 212 continue; |