diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-09-16 20:17:42 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-09-16 20:17:42 +0300 |
commit | 3b77e402a903d9f7a6eeb32f7930d8979f8e0c9e (patch) | |
tree | 9b5848406b1bbbff42f1317053b2917750ea03d5 /src/nxt_http_parse.h | |
parent | 56f4085b9d1d00ecdd359e3deb9c06a3b8ba0874 (diff) | |
download | unit-3b77e402a903d9f7a6eeb32f7930d8979f8e0c9e.tar.gz unit-3b77e402a903d9f7a6eeb32f7930d8979f8e0c9e.tar.bz2 |
HTTP parser: removed unused "plus_in_target" flag.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index e66475a1..a307ea73 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -57,16 +57,14 @@ struct nxt_http_request_parse_s { uint32_t field_hash; /* target with "/." */ - unsigned complex_target:1; + uint8_t complex_target; /* 1 bit */ /* target with "%" */ - unsigned quoted_target:1; + uint8_t quoted_target; /* 1 bit */ /* target with " " */ - unsigned space_in_target:1; - /* target with "+" */ - unsigned plus_in_target:1; + uint8_t space_in_target; /* 1 bit */ /* Preserve encoded '/' (%2F) and '%' (%25). */ - unsigned encoded_slashes:1; + uint8_t encoded_slashes; /* 1 bit */ }; |