diff --git a/reg-tests/http-rules/http_after_response.vtc b/reg-tests/http-rules/http_after_response.vtc index af6649850..0a37daa5f 100644 --- a/reg-tests/http-rules/http_after_response.vtc +++ b/reg-tests/http-rules/http_after_response.vtc @@ -182,11 +182,11 @@ client c4 -connect ${h1_feh1_sock} { client c5 -connect ${h1_feh1_sock} { txreq -req GET -url /deny-srv rxresp - expect resp.status == 200 - expect resp.http.be-sl1 == "" - expect resp.http.be-sl2 == "" - expect resp.http.be-hdr == "" - expect resp.http.fe-sl1-crc == 3104968915 - expect resp.http.fe-sl2-crc == 561949791 - expect resp.http.fe-hdr-crc == 623352154 + expect resp.status == 502 + expect resp.http.be-sl1 == + expect resp.http.be-sl2 == + expect resp.http.be-hdr == + expect resp.http.sl1 == + expect resp.http.sl2 == + expect resp.http.hdr == } -run diff --git a/src/http_ana.c b/src/http_ana.c index 7e32fb8ea..2033d4661 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -2950,7 +2950,7 @@ int http_eval_after_res_rules(struct stream *s) } ret = http_res_get_intercept_rule(s->be, &s->be->http_after_res_rules, s); - if ((ret == HTTP_RULE_RES_CONT || ret == HTTP_RULE_RES_STOP) && sess->fe != s->be) + if (ret == HTTP_RULE_RES_CONT && sess->fe != s->be) ret = http_res_get_intercept_rule(sess->fe, &sess->fe->http_after_res_rules, s); end: