Mercurial > hg > nginx-ranges
comparison src/core/nginx.c @ 150:50bd986c5d63 NGINX_0_3_22
nginx 0.3.22
*) Feature: the ngx_http_perl_module supports the $r->args and
$r->unescape methods.
*) Feature: the method $r->query_string of ngx_http_perl_module was
canceled.
*) Bugfix: segmentation fault was occurred if the "none" or "blocked"
values was specified in the "valid_referers" directive; bug appeared
in 0.3.18.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 17 Jan 2006 00:00:00 +0300 |
parents | 8e6d4d96ec4c |
children | 73e8476f9142 |
comparison
equal
deleted
inserted
replaced
149:cec6fdbfe9da | 150:50bd986c5d63 |
---|---|
166 }; | 166 }; |
167 | 167 |
168 | 168 |
169 ngx_uint_t ngx_max_module; | 169 ngx_uint_t ngx_max_module; |
170 | 170 |
171 static char *ngx_null_environ = NULL; | |
172 | |
171 | 173 |
172 int ngx_cdecl | 174 int ngx_cdecl |
173 main(int argc, char *const *argv) | 175 main(int argc, char *const *argv) |
174 { | 176 { |
175 ngx_int_t i; | 177 ngx_int_t i; |
229 } | 231 } |
230 | 232 |
231 if (ngx_add_inherited_sockets(&init_cycle) == NGX_ERROR) { | 233 if (ngx_add_inherited_sockets(&init_cycle) == NGX_ERROR) { |
232 return 1; | 234 return 1; |
233 } | 235 } |
236 | |
237 environ = &ngx_null_environ; | |
234 | 238 |
235 ngx_max_module = 0; | 239 ngx_max_module = 0; |
236 for (i = 0; ngx_modules[i]; i++) { | 240 for (i = 0; ngx_modules[i]; i++) { |
237 ngx_modules[i]->index = ngx_max_module++; | 241 ngx_modules[i]->index = ngx_max_module++; |
238 } | 242 } |