This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new f1ece8382 Fixed issue with SDK_API_HttpParentProxySet_Fail regression 
test (#9300)
f1ece8382 is described below

commit f1ece8382a54fcbc7e3416e427b26d25b3177986
Author: Bryan Call <bc...@apache.org>
AuthorDate: Fri Jan 13 08:13:34 2023 -0800

    Fixed issue with SDK_API_HttpParentProxySet_Fail regression test (#9300)
---
 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 16f77789f..c77d041a0 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;

Reply via email to