jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

ssl-proxies: Fix CRL refresh bug #64

Closed gbehrmann closed 11 years ago

gbehrmann commented 11 years ago

The CertifcationRevocationList class caches CRL information to reduce the cost of reloading them too often.

The caching logic contains a bug in which any call to the refresh method will update the timestamp for the last reload even when CRLs have not been reloaded. The consequence is that if refresh is called sufficiently often, the CRLs will never be reloaded.

This patch is a port for a similar patch we have used in a fork of JGlobus 1.8 for dCache.

kofemann commented 11 years ago

Gerd, could you please fix formatting? Looks like you have mixed tabs and spaces.

Thanks.