From cbd320652e8ec7a9884fce5e06dcf6681ab04068 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 16 Feb 2006 15:24:12 +0000 Subject: Changes with nginx 0.3.28 16 Feb 2006 *) Feature: the "restrict_host_names" directive is canceled. *) Feature: the --with-cpu-opt=ppc64 configuration parameter. *) Bugfix: on some condition the proxied connection with a client was terminated prematurely. Thanks to Vladimir Shutoff. *) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into account if the request was redirected using the "X-Accel-Redirect" header line. *) Bugfix: the "post_action" directive ran only after a successful completion of a request. *) Bugfix: the proxied response body generated by the "post_action" directive was transferred to a client. --- src/http/ngx_http_request.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 9f4ae21a5..facd58ef6 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -77,11 +77,7 @@ */ #define NGX_HTTP_TO_HTTPS 497 -/* - * We use the special code for the requests with invalid host name - * to distinguish it from 4XX in an error page redirection - */ -#define NGX_HTTP_INVALID_HOST 498 +/* 498 is the canceled code for the requests with invalid host name */ /* * HTTP does not define the code for the case when a client closed @@ -106,13 +102,6 @@ #define NGX_HTTP_COPY_BUFFERED 0x00000200 -typedef enum { - NGX_HTTP_RESTRICT_HOST_OFF = 0, - NGX_HTTP_RESTRICT_HOST_ON, - NGX_HTTP_RESTRICT_HOST_CLOSE -} ngx_http_restrict_host_e; - - typedef enum { NGX_HTTP_INITING_REQUEST_STATE = 0, NGX_HTTP_READING_REQUEST_STATE, -- cgit v1.2.1