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  637441d   Fixed an issue where io events were based on the state of 
the stream
637441d is described below

commit 637441df053585aa677f671fa0a227f3cceff13f
Author: Bryan Call <[email protected]>
AuthorDate: Thu Apr 27 16:13:35 2017 -0700

    Fixed an issue where io events were based on the state of the stream
---
 proxy/http2/Http2Stream.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc
index 981d8e6..626f784 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -397,7 +397,7 @@ Http2Stream::initiating_close()
     // We are sending signals rather than calling the handlers directly to 
avoid the case where
     // the HttpTunnel handler causes the HttpSM to be deleted on the stack.
     bool sent_write_complete = false;
-    if (current_reader && this->is_client_state_writeable()) {
+    if (current_reader) {
       // Push out any last IO events
       if (write_vio._cont) {
         SCOPED_MUTEX_LOCK(lock, write_vio.mutex, this_ethread());

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to