[shibboleth-sp2] 24/89: SSPCPP-680 - Spurious "caches out of sync" warnings on timed out sessions
Ferenc Wágner
wferi at moszumanska.debian.org
Thu Sep 1 09:24:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch master
in repository shibboleth-sp2.
commit a9b65f234b7933930c16e9d85a35228af2ecddcf
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Wed May 11 12:54:49 2016 -0400
SSPCPP-680 - Spurious "caches out of sync" warnings on timed out sessions
https://issues.shibboleth.net/jira/browse/SSPCPP-680
---
shibsp/impl/StorageServiceSessionCache.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shibsp/impl/StorageServiceSessionCache.cpp b/shibsp/impl/StorageServiceSessionCache.cpp
index 6132654..1e6739d 100644
--- a/shibsp/impl/StorageServiceSessionCache.cpp
+++ b/shibsp/impl/StorageServiceSessionCache.cpp
@@ -532,7 +532,7 @@ void StoredSession::validate(const Application& app, const char* client_addr, ti
int curver = m_obj["version"].integer();
int ver = m_cache->m_storage->readText(getID(), "session", &record, &lastAccess, curver);
if (ver == 0) {
- m_cache->m_log.warn("unsuccessful versioned read of session (ID: %s), cache out of sync?", getID());
+ m_cache->m_log.info("session (ID: %s) no longer in storage", getID());
throw RetryableProfileException("Your session has expired, and you must re-authenticate.");
}
@@ -1999,7 +1999,7 @@ void SSCache::receive(DDF& in, ostream& out)
int curver = in["version"].integer();
int ver = m_storage->readText(key, "session", &record, &lastAccess, client_addr ? 0 : curver);
if (ver == 0) {
- m_log.warn("unsuccessful read of session (ID: %s), caches out of sync?", key);
+ m_log.info("session (ID: %s) no longer in storage", key);
throw RetryableProfileException("Your session has expired, and you must re-authenticate.");
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list