You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2017/12/15 06:21:37 UTC

[trafficserver] branch quic-latest updated: Reenable quic stream when hq transaction is reenabled

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

masaori pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 076fc93  Reenable quic stream when hq transaction is reenabled
076fc93 is described below

commit 076fc93bafe34f9146739af6bc34733c9367cc31
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Fri Dec 15 15:21:22 2017 +0900

    Reenable quic stream when hq transaction is reenabled
---
 proxy/hq/HQClientTransaction.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/proxy/hq/HQClientTransaction.cc b/proxy/hq/HQClientTransaction.cc
index 69939cc..d96e84b 100644
--- a/proxy/hq/HQClientTransaction.cc
+++ b/proxy/hq/HQClientTransaction.cc
@@ -247,11 +247,15 @@ HQClientTransaction::reenable(VIO *vio)
 {
   if (vio->op == VIO::READ) {
     int64_t len = this->_process_read_vio();
+    this->_stream_io->read_reenable();
+
     if (len > 0) {
       this->_signal_read_event();
     }
   } else if (vio->op == VIO::WRITE) {
     int64_t len = this->_process_write_vio();
+    this->_stream_io->write_reenable();
+
     if (len > 0) {
       this->_signal_write_event();
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].