trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch 8.0.x updated: Handle inactivity timeout event in state_http_server_open Fixes coredump when testing in production
Date Fri, 15 Jun 2018 16:57:54 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.0.x by this push:
     new e0a236c  Handle inactivity timeout event in state_http_server_open Fixes coredump
when testing in production
e0a236c is described below

commit e0a236c6f0e50f2823aa1e045d6c5725b6325f25
Author: Bryan Call <bcall@apache.org>
AuthorDate: Thu Jun 14 17:19:30 2018 -0700

    Handle inactivity timeout event in state_http_server_open
    Fixes coredump when testing in production
    
    (cherry picked from commit 77be1357d5a50f31811e13b04648a4c5558e95ff)
---
 proxy/http/HttpSM.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index f7b4ecf..292a335 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -1758,6 +1758,7 @@ HttpSM::state_http_server_open(int event, void *data)
     }
     break;
   case VC_EVENT_ERROR:
+  case VC_EVENT_INACTIVITY_TIMEOUT:
   case NET_EVENT_OPEN_FAILED:
     t_state.current.state = HttpTransact::CONNECTION_ERROR;
     // save the errno from the connect fail for future use (passed as negative value, flip
back)

-- 
To stop receiving notification emails like this one, please contact
bcall@apache.org.

Mime
View raw message