summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-09-20 15:05:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-09-20 15:05:38 +0300
commitb5d76454ed41cdc38ac801ef143ca0ab516d741f (patch)
tree63f88996d9555e61d8539929056eb4caa2de3b0c /src/nxt_http.h
parent96cd68b34037f8b6d9a1d43f67b8fe7c1df2ef9e (diff)
downloadunit-b5d76454ed41cdc38ac801ef143ca0ab516d741f.tar.gz
unit-b5d76454ed41cdc38ac801ef143ca0ab516d741f.tar.bz2
Added nginx error 497 response.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index e9cf99f3..1c7ed8bb 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -26,6 +26,8 @@ typedef enum {
NXT_HTTP_URI_TOO_LONG = 414,
NXT_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
+ NXT_HTTP_TO_HTTPS = 497,
+
NXT_HTTP_INTERNAL_SERVER_ERROR = 500,
NXT_HTTP_NOT_IMPLEMENTED = 501,
NXT_HTTP_BAD_GATEWAY = 502,