diff --git a/proxy/ProxySession.h b/proxy/ProxySession.h index 350236cedfc..17c1f69a03b 100644 --- a/proxy/ProxySession.h +++ b/proxy/ProxySession.h @@ -163,9 +163,6 @@ class ProxySession : public VConnection, public PluginUserArgs HttpSessionAccept::Options const *accept_options; ///< connection info // L7R TODO: set in constructor - ink_hrtime ssn_start_time = 0; - ink_hrtime ssn_last_txn_time = 0; - protected: // Hook dispatching state HttpHookState hook_state; diff --git a/proxy/http/Http1ClientSession.cc b/proxy/http/Http1ClientSession.cc index 34602d0dc80..9670dee2d4a 100644 --- a/proxy/http/Http1ClientSession.cc +++ b/proxy/http/Http1ClientSession.cc @@ -128,12 +128,11 @@ Http1ClientSession::new_connection(NetVConnection *new_vc, MIOBuffer *iobuf, IOB { ink_assert(new_vc != nullptr); ink_assert(_vc == nullptr); - _vc = new_vc; - magic = HTTP_CS_MAGIC_ALIVE; - mutex = new_vc->mutex; - trans.mutex = mutex; // Share this mutex with the transaction - ssn_start_time = Thread::get_hrtime(); - in_destroy = false; + _vc = new_vc; + magic = HTTP_CS_MAGIC_ALIVE; + mutex = new_vc->mutex; + trans.mutex = mutex; // Share this mutex with the transaction + in_destroy = false; SSLNetVConnection *ssl_vc = dynamic_cast(new_vc); if (ssl_vc != nullptr) { @@ -397,7 +396,6 @@ Http1ClientSession::release(ProxyTransaction *trans) set_inactivity_timeout(HRTIME_SECONDS(ka_in)); this->clear_session_active(); - this->ssn_last_txn_time = Thread::get_hrtime(); // Timeout events should be delivered to the session this->do_io_write(this, 0, nullptr);