From 222a2adf40eb25ff613c251f15032f1e39d7f609 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 18 Nov 2003 16:49:00 +0000 Subject: nginx-0.0.1-2003-11-18-19:49:00 import --- src/http/ngx_http_request.h | 6 ++++++ 1 file changed, 6 insertions(+) (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 a91dbea57..ef26a6004 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -49,6 +49,12 @@ #define NGX_HTTP_REQUEST_URI_TOO_LARGE 414 #define NGX_HTTP_RANGE_NOT_SATISFIABLE 416 +/* + * HTTP does not define a code for the case when a client closed a connection + * while we are processing request so we introduce own code to log this case + */ +#define NGX_HTTP_CLIENT_CLOSED_REQUEST 420 + #define NGX_HTTP_INTERNAL_SERVER_ERROR 500 #define NGX_HTTP_NOT_IMPLEMENTED 501 #define NGX_HTTP_BAD_GATEWAY 502 -- cgit