diff --git a/iocore/net/SSLSessionCache.cc b/iocore/net/SSLSessionCache.cc index 57e01ab23b2..06a904fe264 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(SSLConfigParams::session_cache_max_bucket_size)) { + if (ssl_rsb) { + SSL_INCREMENT_DYN_STAT(ssl_session_cache_eviction); + } removeOldestSession(); }