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

eze pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new 97e989f228 handle EOS events during server open (#11346) (#11970)
97e989f228 is described below

commit 97e989f228d78420a4fdccd5277ba00a3bc7d0eb
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Fri Jan 17 08:51:39 2025 -0700

    handle EOS events during server open (#11346) (#11970)
    
    (cherry picked from commit f8ad3f9eaa3715fe63f500e0aba78ebe95ec78fc)
    
    Co-authored-by: Fei Deng <[email protected]>
---
 proxy/http/HttpSM.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index a82e7f687c..4220e455af 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -1253,6 +1253,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
@@ -1948,6 +1949,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: {
     if (server_txn) {
       NetVConnection *vc = server_txn->get_netvc();

Reply via email to