Issue 210 in openid4java: Enhancement request - clear cache on "HTML response must have exactly one HEAD..."

3 views
Skip to first unread message

codesite...@google.com

unread,
Apr 25, 2014, 5:54:28 PM4/25/14
to openid4java-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 210 by milocar...@gmail.com: Enhancement request - clear cache
on "HTML response must have exactly one HEAD..."
http://code.google.com/p/openid4java/issues/detail?id=210

We're encountering an issue where bad data is getting added to the cache
via HttpCache.get(). We don't know what exactly the bad data is or how it
ended up there, but we get this exception:

org.openid4java.discovery.yadis.YadisException: 0x70b: HTML response must
have exactly one HEAD element, found 0

Once the bad data is in the cache, it seems to be getting returned for all
subsequent requests and the exception is thrown every time (this may be a
bug but we're not sure). We would like to submit an enhancement request
where the cache is cleared when that exception is thrown. This would cause
bad data to be purged when it becomes problematic rather than causing an
outage for all subsequent requests.

This was discovered in version 0.9.5.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages