You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/10/26 18:31:47 UTC

[trafficserver] branch master updated: Set ua_session of Http2ConnectionState nullptr when ua_session is freed

This is an automated email from the ASF dual-hosted git repository.

zwoop 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 ce31263  Set ua_session of Http2ConnectionState nullptr when ua_session is freed
ce31263 is described below

commit ce3126305100a5a18360305efd0258f58a7dabfb
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Wed Oct 25 13:48:27 2017 -0700

    Set ua_session of Http2ConnectionState nullptr when ua_session is freed
---
 proxy/http2/Http2ConnectionState.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http2/Http2ConnectionState.h b/proxy/http2/Http2ConnectionState.h
index b0b46c5..a4ffd76 100644
--- a/proxy/http2/Http2ConnectionState.h
+++ b/proxy/http2/Http2ConnectionState.h
@@ -147,6 +147,7 @@ public:
     ats_free(continued_buffer.iov_base);
 
     delete dependency_tree;
+    this->ua_session = nullptr;
   }
 
   // Event handlers

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].