From: Igor Sysoev Date: Mon, 2 Oct 2006 11:44:21 +0000 (+0000) Subject: nginx-0.4.4-RELEASE X-Git-Tag: release-0.4.4 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=5e05cb4a196d14465c1f16d35eb65f33c8ac7b9f;p=nginx.git 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 index c92d881f4..b56b1e631 100644 --- 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 index 7dc9cc146..e6db0b7c6 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -786,7 +786,7 @@ ngx_http_variable_scheme(ngx_http_request_t *r, 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_request_t *r, v->valid = 1; v->no_cachable = 0; v->not_found = 0; - v->data = "http"; + v->data = (u_char *) "http"; return NGX_OK; }