From 0c9c2095d1e5015f6b431e2fdc79e57a8a4523cf Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Thu, 30 Jan 2020 16:24:17 +0900 Subject: [PATCH] Update inactive_timeout_at in Http2Stream::signal_read_event() --- proxy/http2/Http2Stream.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc index cd621deaf90..c710e3e92ee 100644 --- a/proxy/http2/Http2Stream.cc +++ b/proxy/http2/Http2Stream.cc @@ -670,6 +670,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) {