From a073616fc35b76fce4c4cc1b3ad30837a22d5499 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 15 Jan 2018 20:50:14 +0300 Subject: Improved HTTP version representation. --- src/nxt_http_parse.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/nxt_http_parse.h') 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; -- cgit