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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 200195a  Update inactive_timeout_at in Http2Stream::signal_read_event()
200195a is described below

commit 200195a3ce6ba5da47c3c9bb3ac90c1241c056ea
Author: Masaori Koshiba <[email protected]>
AuthorDate: Thu Jan 30 16:24:17 2020 +0900

    Update inactive_timeout_at in Http2Stream::signal_read_event()
    
    (cherry picked from commit 7d3781092e7aadef386dc8693a735230a15aea12)
---
 proxy/http2/Http2Stream.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc
index f3519c3..daa62ad 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -668,6 +668,7 @@ Http2Stream::signal_read_event(int event)
 
   MUTEX_TRY_LOCK(lock, read_vio.cont->mutex, this_ethread());
   if (lock.is_locked()) {
+    inactive_timeout_at = Thread::get_hrtime() + inactive_timeout;
     this->read_vio.cont->handleEvent(event, &this->read_vio);
   } else {
     if (this->_read_vio_event) {

Reply via email to