summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_parse.h')
-rw-r--r--src/nxt_http_parse.h7
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;