Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request - clear cache on "HTML response must have exactly one HEAD..." #210

Open
GoogleCodeExporter opened this issue Jun 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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.

Original issue reported on code.google.com by [email protected] on 25 Apr 2014 at 9:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant