comparison src/core/ngx_conf_file.c @ 332:2eea67ed0bc2 NGINX_0_5_36

nginx 0.5.36 *) Bugfix: the "sub_filter" directive might set text to change into output. *) Bugfix: a segmentation fault occurred in worker process, if empty stub block was used second time in SSI. *) Bugfix: the "proxy_store" and "fastcgi_store" directives did not check a response length. *) Bugfix: nginx issued the bogus error message "SSL_shutdown() failed (SSL: )"; bug appeared in 0.5.35. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error; bug appeared in 0.5.35. *) Bugfix: the "fastcgi_catch_stderr" directive did return error code; now it returns 502 code, that can be rerouted to a next server using the "fastcgi_next_upstream invalid_header" directive. *) Bugfix: a segmentation fault occurred in master process if the "fastcgi_catch_stderr" directive was used; bug appeared in 0.5.32. Thanks to Manlio Perillo.
author Igor Sysoev <http://sysoev.ru>
date Sun, 04 May 2008 00:00:00 +0400
parents 26ff8d6b618d
children
comparison
equal deleted inserted replaced
331:27fb10cee3fd 332:2eea67ed0bc2
923 ngx_array_t **a; 923 ngx_array_t **a;
924 ngx_conf_post_t *post; 924 ngx_conf_post_t *post;
925 925
926 a = (ngx_array_t **) (p + cmd->offset); 926 a = (ngx_array_t **) (p + cmd->offset);
927 927
928 if (*a == NULL) { 928 if (*a == NGX_CONF_UNSET_PTR) {
929 *a = ngx_array_create(cf->pool, 4, sizeof(ngx_str_t)); 929 *a = ngx_array_create(cf->pool, 4, sizeof(ngx_str_t));
930 if (*a == NULL) { 930 if (*a == NULL) {
931 return NGX_CONF_ERROR; 931 return NGX_CONF_ERROR;
932 } 932 }
933 } 933 }