# HG changeset patch # User Igor Sysoev # Date 1245614400 -14400 # Node ID c178dbab489a192d9e40f7747777a0890e35e93b # Parent a73427541b68c5781f7500088d22150888774420 nginx 0.8.4 *) Bugfix: nginx could not be built --without-http-cache; the bug had appeared in 0.8.3. diff --git a/CHANGES b/CHANGES --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,11 @@ -Changes with nginx 0.8.2 19 Jun 2009 +Changes with nginx 0.8.4 22 Jun 2009 + + *) Bugfix: nginx could not be built --without-http-cache; the bug had + appeared in 0.8.3. + + +Changes with nginx 0.8.3 19 Jun 2009 *) Feature: the $upstream_cache_status variable. diff --git a/CHANGES.ru b/CHANGES.ru --- a/CHANGES.ru +++ b/CHANGES.ru @@ -1,5 +1,11 @@ -Изменения в nginx 0.8.2 19.06.2009 +Изменения в nginx 0.8.4 22.06.2009 + + *) Исправление: nginx не собирался с параметром --without-http-cache; + ошибка появилась в 0.8.3. + + +Изменения в nginx 0.8.3 19.06.2009 *) Добавление: переменная $upstream_cache_status. diff --git a/src/core/nginx.h b/src/core/nginx.h --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -8,8 +8,8 @@ #define _NGINX_H_INCLUDED_ -#define nginx_version 8003 -#define NGINX_VERSION "0.8.3" +#define nginx_version 8004 +#define NGINX_VERSION "0.8.4" #define NGINX_VER "nginx/" NGINX_VERSION #define NGINX_VAR "NGINX" diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm --- a/src/http/modules/perl/nginx.pm +++ b/src/http/modules/perl/nginx.pm @@ -47,7 +47,7 @@ our @EXPORT = qw( HTTP_INSUFFICIENT_STORAGE ); -our $VERSION = '0.8.3'; +our $VERSION = '0.8.4'; require XSLoader; XSLoader::load('nginx', $VERSION); diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -318,10 +318,14 @@ static ngx_http_variable_t ngx_http_ups ngx_http_upstream_response_length_variable, 0, NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, +#if (NGX_HTTP_CACHE) + { ngx_string("upstream_cache_status"), NULL, ngx_http_upstream_cache_status, 0, NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, +#endif + { ngx_null_string, NULL, NULL, 0, 0, 0 } };