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 2019/09/20 15:22:12 UTC
[trafficserver] branch master updated: Track SSL session cache
evictions performed due to full bucket
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 <vg...@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();
}