You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2015/07/22 22:18:53 UTC

trafficserver git commit: TS-3775: Adjust the mutex assignment for SpdyClientSession to avoid unlocked read vio.

Repository: trafficserver
Updated Branches:
  refs/heads/master f526ed540 -> 6f66b7a18


TS-3775:  Adjust the mutex assignment for SpdyClientSession to avoid unlocked read vio.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6f66b7a1
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6f66b7a1
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6f66b7a1

Branch: refs/heads/master
Commit: 6f66b7a18234a93e810d8ef2ce23144b9b3446f4
Parents: f526ed5
Author: shinrich <sh...@yahoo-inc.com>
Authored: Mon Jul 20 17:41:45 2015 -0500
Committer: shinrich <sh...@yahoo-inc.com>
Committed: Wed Jul 22 15:17:51 2015 -0500

----------------------------------------------------------------------
 proxy/spdy/SpdyClientSession.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6f66b7a1/proxy/spdy/SpdyClientSession.cc
----------------------------------------------------------------------
diff --git a/proxy/spdy/SpdyClientSession.cc b/proxy/spdy/SpdyClientSession.cc
index 2f8720e..fe5c732 100644
--- a/proxy/spdy/SpdyClientSession.cc
+++ b/proxy/spdy/SpdyClientSession.cc
@@ -94,7 +94,8 @@ SpdyClientSession::init(NetVConnection *netvc)
 {
   int r;
 
-  this->mutex = new_ProxyMutex();
+  //this->mutex = new_ProxyMutex();
+  this->mutex = netvc->mutex;
   this->vc = netvc;
   this->req_map.clear();