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

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


The following commit(s) were added to refs/heads/7.1.x by this push:
     new e9e5f86  Clearout shutdown_cont_event when the event has been processed
e9e5f86 is described below

commit e9e5f862bac586280f5485d720e7e1bee15be0d4
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Sun Jul 15 20:30:41 2018 +0900

    Clearout shutdown_cont_event when the event has been processed
    
    shutdown_cont_event was cleared out in main_event_handler but not in 
state_closed.
    
    (cherry picked from commit ef785f2f6c3f7cb27ceb934684027f7ab936afd7)
---
 proxy/http2/Http2ConnectionState.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index e45e624..604f0e2 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -959,6 +959,8 @@ Http2ConnectionState::state_closed(int /* event */, void 
*edata)
 {
   if (edata == fini_event) {
     fini_event = nullptr;
+  } else if (edata == shutdown_cont_event) {
+    shutdown_cont_event = nullptr;
   }
   return 0;
 }

Reply via email to