Open athum opened 4 years ago
When the authenticator's cache is purged, there was a consistent slice bounds out of range [:200] with capacity 181 panic occurring. Purging the entire cache resolves this error.
slice bounds out of range [:200] with capacity 181
This is moved over from https://github.com/abbot/go-http-auth/pull/68, which is closed.
@abbot this PR includes the unit tests. Let me know if you would like any updates! (especially w.r.t. eliminating the count parameter altogeter).
count
When the authenticator's cache is purged, there was a consistent
slice bounds out of range [:200] with capacity 181
panic occurring. Purging the entire cache resolves this error.This is moved over from https://github.com/abbot/go-http-auth/pull/68, which is closed.