summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-01-15 20:50:20 +0300
committerValentin Bartenev <vbart@nginx.com>2018-01-15 20:50:20 +0300
commit0c38ff0e66908e6e80045b9bf71344830dbd9621 (patch)
tree61c274cfa56f2385c75e54b1cb79f249c6837022 /src/nxt_http.h
parenta073616fc35b76fce4c4cc1b3ad30837a22d5499 (diff)
downloadunit-0c38ff0e66908e6e80045b9bf71344830dbd9621.tar.gz
unit-0c38ff0e66908e6e80045b9bf71344830dbd9621.tar.bz2
Checking for major HTTP version.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index f3143687..a8a28eca 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -30,6 +30,7 @@ typedef enum {
NXT_HTTP_BAD_GATEWAY = 502,
NXT_HTTP_SERVICE_UNAVAILABLE = 503,
NXT_HTTP_GATEWAY_TIMEOUT = 504,
+ NXT_HTTP_VERSION_NOT_SUPPORTED = 505,
} nxt_http_status_t;