diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-01-15 20:50:14 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-01-15 20:50:14 +0300 |
commit | a073616fc35b76fce4c4cc1b3ad30837a22d5499 (patch) | |
tree | 78b91d5c19a2300ee4fd0a8b1f1cf40649f7071d /src/nxt_http_parse.h | |
parent | 3fb140d6d2f8bf0344e7c311923178db808cb437 (diff) | |
download | unit-a073616fc35b76fce4c4cc1b3ad30837a22d5499.tar.gz unit-a073616fc35b76fce4c4cc1b3ad30837a22d5499.tar.bz2 |
Improved HTTP version representation.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index 0a0ca340..51c6809a 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -22,6 +22,13 @@ typedef struct nxt_http_fields_hash_s nxt_http_fields_hash_t; typedef union { u_char str[8]; uint64_t ui64; + + struct { + u_char prefix[5]; + u_char major; + u_char point; + u_char minor; + } s; } nxt_http_ver_t; |