diff src/http/ngx_http_request.h @ 3848:de59ad6bf557

introduce 494 code "Request Header Too Large"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 20 Jan 2011 10:37:58 +0000
parents 11c68a5ed419
children 6b608bf9f3ae
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -95,7 +95,9 @@
 /* The special code to close connection without any response */
 #define NGX_HTTP_CLOSE                     444
 
-#define NGX_HTTP_NGINX_CODES               495
+#define NGX_HTTP_NGINX_CODES               494
+
+#define NGX_HTTP_REQUEST_HEADER_TOO_LARGE  494
 
 #define NGX_HTTPS_CERT_ERROR               495
 #define NGX_HTTPS_NO_CERT                  496