From 74403601c2ae4c9844d0108c313a2f5ef1f3de9c Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Wed, 11 Jan 2023 18:02:42 -0800 Subject: [PATCH] Fixed issue with SDK_API_HttpParentProxySet_Fail regression test --- proxy/http/HttpTransact.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc index 16f77789f86..c77d041a0c3 100644 --- a/proxy/http/HttpTransact.cc +++ b/proxy/http/HttpTransact.cc @@ -313,7 +313,7 @@ HttpTransact::is_response_valid(State *s, HTTPHdr *incoming_response) ink_assert((s->current.state == CONNECTION_ERROR) || (s->current.state == OPEN_RAW_ERROR) || (s->current.state == PARSE_ERROR) || (s->current.state == CONNECTION_CLOSED) || (s->current.state == INACTIVE_TIMEOUT) || (s->current.state == ACTIVE_TIMEOUT) || - s->current.state == OUTBOUND_CONGESTION); + s->current.state == OUTBOUND_CONGESTION || s->current.state == BAD_INCOMING_RESPONSE); s->hdr_info.response_error = CONNECTION_OPEN_FAILED; return false;