Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the current snapshot even if there is no delta. (#940)
This PR fixes an issue with calculating the refresh time under certain conditions by updating the current internal payload snapshot even if the delta to the previous snapshot is empty. Because this snapshot also contains the expiry time of certificate first to expire and this time is used as the refresh time if it is closer than the configure refresh time (so the date derived from the expired certificate is removed as soon as possible), not updating the snapshot can lead to a refresh time in the past (effectively: an immediate refresh) if there is a second, longer living object for an expiring object.
- Loading branch information