Improved HTTP version representation.

This commit is contained in:
Valentin Bartenev
2018-01-15 20:50:14 +03:00
parent 3fb140d6d2
commit a073616fc3
3 changed files with 18 additions and 15 deletions

View File

@@ -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;