Deleted Added
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6#ifndef _NXT_UNIT_FIELD_H_INCLUDED_
7#define _NXT_UNIT_FIELD_H_INCLUDED_
8

--- 7 unchanged lines hidden (view full) ---

16 NXT_UNIT_HASH_CONTENT_TYPE = 0x5F7D,
17 NXT_UNIT_HASH_COOKIE = 0x23F2,
18};
19
20
21/* Name and Value field aka HTTP header. */
22struct nxt_unit_field_s {
23 uint16_t hash;
24 uint8_t skip:1;
25 uint8_t hopbyhop:1;
26 uint8_t name_length;
27 uint32_t value_length;
28
29 nxt_unit_sptr_t name;
30 nxt_unit_sptr_t value;
31};
32
33
34#endif /* _NXT_UNIT_FIELD_H_INCLUDED_ */