This is an automated email from the ASF dual-hosted git repository.
duke8253 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 f8ad3f9eaa handle EOS events during server open (#11346)
f8ad3f9eaa is described below
commit f8ad3f9eaa3715fe63f500e0aba78ebe95ec78fc
Author: Fei Deng <[email protected]>
AuthorDate: Mon May 20 10:53:09 2024 -0500
handle EOS events during server open (#11346)
---
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 f9a23a6576..00ab31fc96 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
@@ -1806,6 +1807,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();