This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 9.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.1.x by this push: new 4a76a64 Cleanup: Remove unused member of Http2ClientSession (#7570) 4a76a64 is described below commit 4a76a64bb4d6c918818f2811e5f3d5e186248ff4 Author: Masaori Koshiba <masa...@apache.org> AuthorDate: Wed Mar 3 09:32:52 2021 +0900 Cleanup: Remove unused member of Http2ClientSession (#7570) (cherry picked from commit a87ceb8b572ca0f8ca1595f31e425ef48e17bd2a) --- proxy/http2/Http2ClientSession.cc | 1 - proxy/http2/Http2ClientSession.h | 1 - 2 files changed, 2 deletions(-) diff --git a/proxy/http2/Http2ClientSession.cc b/proxy/http2/Http2ClientSession.cc index d28d0b8..10879a0 100644 --- a/proxy/http2/Http2ClientSession.cc +++ b/proxy/http2/Http2ClientSession.cc @@ -286,7 +286,6 @@ void Http2ClientSession::flush() { if (this->_pending_sending_data_size > 0) { - total_write_len += this->_pending_sending_data_size; this->_pending_sending_data_size = 0; this->_write_buffer_last_flush = Thread::get_hrtime(); write_reenable(); diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h index 5e2b00d..782854b 100644 --- a/proxy/http2/Http2ClientSession.h +++ b/proxy/http2/Http2ClientSession.h @@ -136,7 +136,6 @@ private: bool _should_do_something_else(); - int64_t total_write_len = 0; SessionHandler session_handler = nullptr; MIOBuffer *read_buffer = nullptr; IOBufferReader *_reader = nullptr;