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 2018/03/06 18:16:19 UTC

[trafficserver] 01/04: Combine mutex of Http2ClientSession and Http2ConnectionState

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

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit c66cd890243ba7d45094988eb7e53131ddd230d7
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Mon Mar 5 14:52:08 2018 +0900

    Combine mutex of Http2ClientSession and Http2ConnectionState
    
    (cherry picked from commit dca48a03511dfa6b72da65eeb1f0b82e96270e9b)
---
 proxy/http2/Http2ClientSession.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http2/Http2ClientSession.cc b/proxy/http2/Http2ClientSession.cc
index 792279e..d67759d 100644
--- a/proxy/http2/Http2ClientSession.cc
+++ b/proxy/http2/Http2ClientSession.cc
@@ -185,7 +185,7 @@ Http2ClientSession::new_connection(NetVConnection *new_vc, MIOBuffer *iobuf, IOB
   this->mutex          = new_vc->mutex;
   this->in_destroy     = false;
 
-  this->connection_state.mutex = new_ProxyMutex();
+  this->connection_state.mutex = this->mutex;
 
   DebugHttp2Ssn("session born, netvc %p", this->client_vc);
 

-- 
To stop receiving notification emails like this one, please contact
zwoop@apache.org.