summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-02 11:44:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-02 11:44:21 +0000
commit5e05cb4a196d14465c1f16d35eb65f33c8ac7b9f (patch)
treecfc11e1a20484960042ceacb47299295f1e2b0e1
parent49c9ea0e262e4f65d47f5cedd5b412d7babf9200 (diff)
downloadnginx-5e05cb4a196d14465c1f16d35eb65f33c8ac7b9f.tar.gz
nginx-0.4.4-RELEASErelease-0.4.4
fix msvc build failure introduced by previous commit
-rw-r--r--docs/xml/nginx/changes.xml66
-rw-r--r--src/http/ngx_http_variables.c4
2 files changed, 68 insertions, 2 deletions
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 @@
<title lang="en">nginx changelog</title>
+<changes ver="0.4.4" date="02.10.2006">
+
+<change type="feature">
+<para lang="ru">
+переменная scheme.
+</para>
+<para lang="en">
+the "scheme" variable.
+</para>
+</change>
+
+<change type="feature">
+<para lang="ru">
+директива expires поддерживает параметр max.
+</para>
+<para lang="en">
+the "expires" directive supports the "max" parameter.
+</para>
+</change>
+
+<change type="feature">
+<para lang="ru">
+директива include поддерживает маску "*".<br/>
+Спасибо Jonathan Dance.
+</para>
+<para lang="en">
+the "include" directive supports the "*" mask.<br/>
+Thanks to Jonathan Dance.
+</para>
+</change>
+
+<change type="bugfix">
+<para lang="ru">
+директива return всегда изменяла код ответа, перенаправленного
+директивой error_page.
+</para>
+<para lang="en">
+the "return" directive always overrode the "error_page" response code
+redirected by the "error_page" directive.
+</para>
+</change>
+
+<change type="bugfix">
+<para lang="ru">
+происходил segmentation fault, если в методе PUT передавалось
+тело нулевой длины.
+</para>
+<para lang="en">
+a segmentation fault occurred if zero-length body was in PUT method.
+</para>
+</change>
+
+<change type="bugfix">
+<para lang="ru">
+при использовании переменных в директиве proxy_redirect редирект
+изменялся неверно.
+</para>
+<para lang="en">
+the redirect was changed incorrectly if the variables were used
+in the "proxy_redirect" directive.
+</para>
+</change>
+
+</changes>
+
+
<changes ver="0.4.3" date="26.09.2006">
<change type="change">
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;
}