You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2016/10/12 22:38:27 UTC
[trafficserver] 05/05: TS-4905: Set parent NULL after destroy() is
called
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 7.0.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit 31b7a7282951613917c4bdc73d838a8ff859161f
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Tue Oct 4 17:56:45 2016 +0900
TS-4905: Set parent NULL after destroy() is called
(cherry picked from commit 60d3d1fc542f9d33317e35ced399bef1f9c89516)
---
proxy/http/Http1ClientTransaction.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxy/http/Http1ClientTransaction.cc b/proxy/http/Http1ClientTransaction.cc
index 2220e60..5097c8c 100644
--- a/proxy/http/Http1ClientTransaction.cc
+++ b/proxy/http/Http1ClientTransaction.cc
@@ -67,6 +67,7 @@ Http1ClientTransaction::transaction_done()
// If the parent session is not in the closed state, the destroy will not occur.
if (parent) {
parent->destroy();
+ parent = NULL;
}
}
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.