diff options
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 13 |
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, |