# HG changeset patch # User Igor Sysoev # Date 1291064400 -10800 # Node ID 9ad199846233b1c040ba06934bfc104839917a01 # Parent 7830c2b8fedb46017a4afd2afd3674f7e2a871b6 nginx 0.9.1 *) Bugfix: "return CODE message" directrives did not work; the bug had appeared in 0.9.0. diff --git a/CHANGES b/CHANGES --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,10 @@ +Changes with nginx 0.9.1 30 Nov 2010 + + *) Bugfix: "return CODE message" directrives did not work; the bug had + appeared in 0.9.0. + + Changes with nginx 0.9.0 29 Nov 2010 *) Feature: the "keepalive_disable" directive. diff --git a/CHANGES.ru b/CHANGES.ru --- a/CHANGES.ru +++ b/CHANGES.ru @@ -1,4 +1,10 @@ +Изменения в nginx 0.9.1 30.11.2010 + + *) Исправление: директивы вида "return CODE message" не работали; + ошибка появилась в 0.9.0. + + Изменения в nginx 0.9.0 29.11.2010 *) Добавление: директива keepalive_disable. diff --git a/conf/mime.types b/conf/mime.types --- a/conf/mime.types +++ b/conf/mime.types @@ -61,6 +61,7 @@ types { audio/midi mid midi kar; audio/mpeg mp3; + audio/ogg ogg; audio/x-realaudio ra; video/3gpp 3gpp 3gp; 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 9000 -#define NGINX_VERSION "0.9.0" +#define nginx_version 9001 +#define NGINX_VERSION "0.9.1" #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 @@ -48,7 +48,7 @@ our @EXPORT = qw( HTTP_INSUFFICIENT_STORAGE ); -our $VERSION = '0.9.0'; +our $VERSION = '0.9.1'; require XSLoader; XSLoader::load('nginx', $VERSION); diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -900,11 +900,6 @@ ngx_http_core_rewrite_phase(ngx_http_req rc = ph->handler(r); - if (rc == NGX_OK) { - r->phase_handler = ph->next; - return NGX_AGAIN; - } - if (rc == NGX_DECLINED) { r->phase_handler++; return NGX_AGAIN; @@ -914,7 +909,7 @@ ngx_http_core_rewrite_phase(ngx_http_req return NGX_OK; } - /* NGX_AGAIN || rc == NGX_ERROR || rc == NGX_HTTP_... */ + /* NGX_OK, NGX_AGAIN, NGX_ERROR, NGX_HTTP_... */ ngx_http_finalize_request(r, rc);