Skip to content

Commit 678c056

Browse files
committed
Fixes: 64934e5 ("HTTP: Introduce quoted target marker in HTTP parsing")
Reviewed-by: Andrew Clayton <[email protected]>
1 parent a4dbee1 commit 678c056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/nxt_http_parse_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,15 +762,14 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp,
762762
return NXT_ERROR;
763763
}
764764

765-
if (rp->complex_target != (test->complex_target | test->quoted_target)) {
765+
if (rp->complex_target != test->complex_target) {
766766
nxt_log_alert(log, "http parse test case failed:\n"
767767
" - request:\n\"%V\"\n"
768768
" - complex_target: %d (expected: %d)",
769769
request, rp->complex_target, test->complex_target);
770770
return NXT_ERROR;
771771
}
772772

773-
#if 0
774773
if (rp->quoted_target != test->quoted_target) {
775774
nxt_log_alert(log, "http parse test case failed:\n"
776775
" - request:\n\"%V\"\n"
@@ -779,6 +778,7 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp,
779778
return NXT_ERROR;
780779
}
781780

781+
#if 0
782782
if (rp->space_in_target != test->space_in_target) {
783783
nxt_log_alert(log, "http parse test case failed:\n"
784784
" - request:\n\"%V\"\n"

0 commit comments

Comments
 (0)