You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sc...@apache.org on 2019/02/15 06:16:50 UTC
[trafficserver] branch master updated: XXxClean up ua_entry when
client_vc is closed
This is an automated email from the ASF dual-hosted git repository.
scw00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new a37f0d9 XXxClean up ua_entry when client_vc is closed
a37f0d9 is described below
commit a37f0d91ec0bbc5cd1f0700a69d76df54b9484fc
Author: scw00 <sc...@apache.org>
AuthorDate: Sat Jan 26 17:21:42 2019 +0800
XXxClean up ua_entry when client_vc is closed
---
proxy/http/HttpSM.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 4450247..3aa0cee 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -3287,7 +3287,9 @@ HttpSM::tunnel_handler_ua(int event, HttpTunnelConsumer *c)
ua_txn->set_half_close_flag(true);
}
+ vc_table.remove_entry(this->ua_entry);
ua_txn->do_io_close();
+ ua_txn = nullptr;
} else {
ink_assert(ua_buffer_reader != nullptr);
ua_txn->release(ua_buffer_reader);