You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2018/07/16 14:55:05 UTC
[trafficserver] branch master updated: Clearout shutdown_cont_event
when the event has been processed
This is an automated email from the ASF dual-hosted git repository.
zwoop 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 ef785f2 Clearout shutdown_cont_event when the event has been processed
ef785f2 is described below
commit ef785f2f6c3f7cb27ceb934684027f7ab936afd7
Author: Masakazu Kitajo <ma...@apache.org>
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.
---
proxy/http2/Http2ConnectionState.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 0532370..01c0125 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -1006,6 +1006,8 @@ Http2ConnectionState::state_closed(int /* event */, void *edata)
ink_release_assert(zombie_event == nullptr);
} else if (edata == fini_event) {
fini_event = nullptr;
+ } else if (edata == shutdown_cont_event) {
+ shutdown_cont_event = nullptr;
}
return 0;
}