trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shinr...@apache.org
Subject [trafficserver] branch master updated: Track SSL session cache evictions performed due to full bucket
Date Fri, 20 Sep 2019 15:22:12 GMT
This is an automated email from the ASF dual-hosted git repository.

shinrich 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 a62e5f9  Track SSL session cache evictions performed due to full bucket
a62e5f9 is described below

commit a62e5f98763bd29bf68318cb55a2ddc1ec189a1b
Author: Valentin Gutierrez <vgutierrez@wikimedia.org>
AuthorDate: Wed Sep 11 13:43:55 2019 +0000

    Track SSL session cache evictions performed due to full bucket
---
 iocore/net/SSLSessionCache.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iocore/net/SSLSessionCache.cc b/iocore/net/SSLSessionCache.cc
index 9ba73bc..8c80389 100644
--- a/iocore/net/SSLSessionCache.cc
+++ b/iocore/net/SSLSessionCache.cc
@@ -142,6 +142,9 @@ SSLSessionBucket::insertSession(const SSLSessionID &id, SSL_SESSION
*sess)
 
   PRINT_BUCKET("insertSession before")
   if (queue.size >= static_cast<int>(SSLConfigParams::session_cache_max_bucket_size))
{
+    if (ssl_rsb) {
+      SSL_INCREMENT_DYN_STAT(ssl_session_cache_eviction);
+    }
     removeOldestSession();
   }
 


Mime
View raw message