diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-17 20:04:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-17 20:04:32 +0000 |
commit | ae33d014ad64c380446d8113bc7b2de115ffa23f (patch) | |
tree | 29a2f51bb8ba23c2a698732fc543bed6798d5967 /src/core/nginx.c | |
parent | 4a32307de74116ec3aca40cd15e37e26e3bddd79 (diff) | |
download | nginx-ae33d014ad64c380446d8113bc7b2de115ffa23f.tar.gz nginx-ae33d014ad64c380446d8113bc7b2de115ffa23f.zip |
nginx-0.3.22-RELEASE importrelease-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; the bug had
appeared in 0.3.18.
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index d30e12744..a9a0dd905 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -168,6 +168,8 @@ ngx_module_t ngx_core_module = { ngx_uint_t ngx_max_module; +static char *ngx_null_environ = NULL; + int ngx_cdecl main(int argc, char *const *argv) @@ -232,6 +234,8 @@ main(int argc, char *const *argv) return 1; } + environ = &ngx_null_environ; + ngx_max_module = 0; for (i = 0; ngx_modules[i]; i++) { ngx_modules[i]->index = ngx_max_module++; |