[cpp-sp] branch master updated: SSPCPP-680 - Spurious "caches out of sync" warnings on timed out sessions
Scott Cantor
cantor.2 at osu.edu
Wed May 11 12:55:40 EDT 2016
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-sp.
The following commit(s) were added to refs/heads/master by this push:
new a9b65f2 SSPCPP-680 - Spurious "caches out of sync" warnings on timed out sessions
a9b65f2 is described below
commit a9b65f234b7933930c16e9d85a35228af2ecddcf
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: 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.");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list