# HG changeset patch # User Igor Sysoev # Date 1159789461 0 # Node ID 5e42c1615f4de0079bd4d8913886d588ce6a295d # Parent 44161d685b8aee229f10843ffb44f4be865ac7bc nginx-0.4.4-RELEASE fix msvc build failure introduced by previous commit diff --git a/docs/xml/nginx/changes.xml b/docs/xml/nginx/changes.xml --- a/docs/xml/nginx/changes.xml +++ b/docs/xml/nginx/changes.xml @@ -9,6 +9,72 @@ nginx changelog + + + + +переменная scheme. + + +the "scheme" variable. + + + + + +директива expires поддерживает параметр max. + + +the "expires" directive supports the "max" parameter. + + + + + +директива include поддерживает маску "*".
+Спасибо Jonathan Dance. +
+ +the "include" directive supports the "*" mask.
+Thanks to Jonathan Dance. +
+
+ + + +директива return всегда изменяла код ответа, перенаправленного +директивой error_page. + + +the "return" directive always overrode the "error_page" response code +redirected by the "error_page" directive. + + + + + +происходил segmentation fault, если в методе PUT передавалось +тело нулевой длины. + + +a segmentation fault occurred if zero-length body was in PUT method. + + + + + +при использовании переменных в директиве proxy_redirect редирект +изменялся неверно. + + +the redirect was changed incorrectly if the variables were used +in the "proxy_redirect" directive. + + + +
+ + diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -786,7 +786,7 @@ ngx_http_variable_scheme(ngx_http_reques v->valid = 1; v->no_cachable = 0; v->not_found = 0; - v->data = "https"; + v->data = (u_char *) "https"; return NGX_OK; } @@ -797,7 +797,7 @@ ngx_http_variable_scheme(ngx_http_reques v->valid = 1; v->no_cachable = 0; v->not_found = 0; - v->data = "http"; + v->data = (u_char *) "http"; return NGX_OK; }