Mercurial > hg > nginx
comparison src/core/nginx.c @ 601:77f77f53214a release-0.3.22
nginx-0.3.22-RELEASE import
*) 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; the bug had
appeared in 0.3.18.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Jan 2006 20:04:32 +0000 |
parents | d4e858a5751a |
children | 3f8a2132b93d |
comparison
equal
deleted
inserted
replaced
600:2d3a5a03e738 | 601:77f77f53214a |
---|---|
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 } |