diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-10 16:51:22 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-10 16:51:22 +0300 |
commit | 8d697e8004c7c73139f1055e15f9860dd2d1b165 (patch) | |
tree | 2fe4c7d4721b32fe575c5f6e38fe8e56bfdd0b72 /src | |
parent | b1b9c78362629d42f44d718b9a1d5ef3e1eaf308 (diff) | |
download | unit-8d697e8004c7c73139f1055e15f9860dd2d1b165.tar.gz unit-8d697e8004c7c73139f1055e15f9860dd2d1b165.tar.bz2 |
HTTP parser: saving unsupported version.
This is useful for log purposes.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c index dd86c44f..c0945faf 100644 --- a/src/nxt_http_parse.c +++ b/src/nxt_http_parse.c @@ -461,6 +461,7 @@ space_after_target: && ver.s.point == '.' && ver.s.minor >= '0' && ver.s.minor <= '9') { + rp->version.ui64 = ver.ui64; return NXT_HTTP_PARSE_UNSUPPORTED_VERSION; } |