trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject trafficserver git commit: TS-3156: use a proxy allocated mutex
Date Thu, 20 Nov 2014 16:43:47 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 79d5a498c -> 74d29be0e


TS-3156: use a proxy allocated mutex


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

Branch: refs/heads/master
Commit: 74d29be0ed7c925b39cfea9d2e347b6a71b12c16
Parents: 79d5a49
Author: James Peach <jpeach@apache.org>
Authored: Thu Nov 20 08:43:28 2014 -0800
Committer: James Peach <jpeach@apache.org>
Committed: Thu Nov 20 08:43:34 2014 -0800

----------------------------------------------------------------------
 iocore/net/SSLSessionCache.cc | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/74d29be0/iocore/net/SSLSessionCache.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLSessionCache.cc b/iocore/net/SSLSessionCache.cc
index eda7387..3356571 100644
--- a/iocore/net/SSLSessionCache.cc
+++ b/iocore/net/SSLSessionCache.cc
@@ -226,14 +226,12 @@ void SSLSessionBucket::removeSession(const SSLSessionID &id) {
 }
 
 /* Session Bucket */
-SSLSessionBucket::SSLSessionBucket()
- : mutex(new ProxyMutex())
+SSLSessionBucket::SSLSessionBucket() : mutex(new_ProxyMutex())
 {
-  mutex->init("session_bucket");
 }
 
-SSLSessionBucket::~SSLSessionBucket() {
-
+SSLSessionBucket::~SSLSessionBucket()
+{
 }
 
 


Mime
View raw message