diff options
author | Zhidao HONG <z.hong@f5.com> | 2024-04-10 13:45:34 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2024-04-11 22:23:09 +0800 |
commit | 64934e59f9c06f62fe99466b320cd397c8609807 (patch) | |
tree | 3c6e46f4e01479ab5bee3af92f2c2720ed2f8562 /src/nxt_http_parse.h | |
parent | 626977730f0e9029ee15b6321d35cb5aa311379d (diff) | |
download | unit-64934e59f9c06f62fe99466b320cd397c8609807.tar.gz unit-64934e59f9c06f62fe99466b320cd397c8609807.tar.bz2 |
HTTP: Introduce quoted target marker in HTTP parsing
The quoted_target field is to indentify URLs containing
percent-encoded characters. It can be used in places
where you might need to generate new URL, such as in the
proxy module.
It will be used in the subsequent commit.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_http_parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index fa95e842..9e1265d1 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -61,9 +61,9 @@ struct nxt_http_request_parse_s { /* target with "/." */ uint8_t complex_target; /* 1 bit */ -#if 0 /* target with "%" */ uint8_t quoted_target; /* 1 bit */ +#if 0 /* target with " " */ uint8_t space_in_target; /* 1 bit */ #endif |