summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.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_parse.h
parenta073616fc35b76fce4c4cc1b3ad30837a22d5499 (diff)
downloadunit-0c38ff0e66908e6e80045b9bf71344830dbd9621.tar.gz
unit-0c38ff0e66908e6e80045b9bf71344830dbd9621.tar.bz2
Checking for major HTTP version.
Diffstat (limited to '')
-rw-r--r--src/nxt_http_parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h
index 51c6809a..0326d45c 100644
--- a/src/nxt_http_parse.h
+++ b/src/nxt_http_parse.h
@@ -10,6 +10,7 @@
typedef enum {
NXT_HTTP_PARSE_INVALID = 1,
+ NXT_HTTP_PARSE_UNSUPPORTED_VERSION,
NXT_HTTP_PARSE_TOO_LARGE_FIELD,
} nxt_http_parse_error_t;