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 ce328b2 Fixed an issue where io events were based on the state of
the stream
ce328b2 is described below
commit ce328b2da49c1adbb12ada6f9c73c6fab356617b
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
(cherry picked from commit 637441df053585aa677f671fa0a227f3cceff13f)
---
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 d95f3b2..08466c0 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]>'].