This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 3c3e6243d81f12df26166ca8dab23ddabe7f4f79 Author: Fei Deng <[email protected]> AuthorDate: Mon May 20 10:53:09 2024 -0500 handle EOS events during server open (#11346) (cherry picked from commit f8ad3f9eaa3715fe63f500e0aba78ebe95ec78fc) --- src/proxy/http/HttpSM.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy/http/HttpSM.cc b/src/proxy/http/HttpSM.cc index b5234f1d39..c548ea17f6 100644 --- a/src/proxy/http/HttpSM.cc +++ b/src/proxy/http/HttpSM.cc @@ -1088,6 +1088,7 @@ HttpSM::state_raw_http_server_open(int event, void *data) break; } case VC_EVENT_ERROR: + case VC_EVENT_EOS: case NET_EVENT_OPEN_FAILED: t_state.current.state = HttpTransact::OPEN_RAW_ERROR; // use this value just to get around other values @@ -1800,6 +1801,7 @@ HttpSM::state_http_server_open(int event, void *data) t_state.set_connect_fail(ETIMEDOUT); /* fallthrough */ case VC_EVENT_ERROR: + case VC_EVENT_EOS: case NET_EVENT_OPEN_FAILED: { t_state.current.state = HttpTransact::CONNECTION_ERROR; t_state.outbound_conn_track_state.clear();
