changeset 732:5e42c1615f4d release-0.4.4

nginx-0.4.4-RELEASE fix msvc build failure introduced by previous commit
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Oct 2006 11:44:21 +0000
parents 44161d685b8a
children 2f8159ac704c
files docs/xml/nginx/changes.xml src/http/ngx_http_variables.c
diffstat 2 files changed, 68 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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">
--- 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;
 }