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

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

commit 523429733ba8cc7944cd89808032e0037683c1d8
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 b14b6e7..ed160c9 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -671,6 +671,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