aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-02-16 15:26:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-02-16 15:26:46 +0000
commitc2807ecf4522cbd23c18fe87e3d4c0f793026e7a (patch)
treed6c4d64689d7ec8dd8315988360e6c5b62b3c210 /src/http/ngx_http_request.h
parentc07b968bebe0801836ee94753b28a7d227ff76cc (diff)
downloadnginx-c2807ecf4522cbd23c18fe87e3d4c0f793026e7a.tar.gz
nginx-c2807ecf4522cbd23c18fe87e3d4c0f793026e7a.zip
nginx-0.3.28-RELEASE importrelease-0.3.28
*) Feature: the "restrict_host_names" directive was 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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h13
1 files changed, 1 insertions, 12 deletions
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
@@ -107,13 +103,6 @@
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,
NGX_HTTP_PROCESS_REQUEST_STATE,