diff options
author | Zhidao HONG <z.hong@f5.com> | 2024-04-16 23:30:15 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2024-04-17 15:47:08 +0800 |
commit | 678c05686996e0aa6ddf79bf71279425306e9113 (patch) | |
tree | a362faf78bceefe2a63fc0abb77cde03661323f7 /src/test | |
parent | a4dbee147cc13c9eef1f6cb209b4651a1419d17d (diff) | |
download | unit-678c05686996e0aa6ddf79bf71279425306e9113.tar.gz unit-678c05686996e0aa6ddf79bf71279425306e9113.tar.bz2 |
Fixes: 64934e59f ("HTTP: Introduce quoted target marker in HTTP parsing")
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/nxt_http_parse_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/nxt_http_parse_test.c b/src/test/nxt_http_parse_test.c index 5f1a518c..474b3f8d 100644 --- a/src/test/nxt_http_parse_test.c +++ b/src/test/nxt_http_parse_test.c @@ -762,7 +762,7 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp, return NXT_ERROR; } - if (rp->complex_target != (test->complex_target | test->quoted_target)) { + if (rp->complex_target != test->complex_target) { nxt_log_alert(log, "http parse test case failed:\n" " - request:\n\"%V\"\n" " - complex_target: %d (expected: %d)", @@ -770,7 +770,6 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp, return NXT_ERROR; } -#if 0 if (rp->quoted_target != test->quoted_target) { nxt_log_alert(log, "http parse test case failed:\n" " - request:\n\"%V\"\n" @@ -779,6 +778,7 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp, return NXT_ERROR; } +#if 0 if (rp->space_in_target != test->space_in_target) { nxt_log_alert(log, "http parse test case failed:\n" " - request:\n\"%V\"\n" |