Closed farshidtz closed 4 years ago
The client caching code is not thread-safe: https://github.com/linksmart/go-sec/blob/7515a66dd5b68df214cc799f0f7d935f538f207d/auth/validator/handler.go#L107
Moreover, it can cause exhaustive memory consumption.
The client caching code is not thread-safe: https://github.com/linksmart/go-sec/blob/7515a66dd5b68df214cc799f0f7d935f538f207d/auth/validator/handler.go#L107
Moreover, it can cause exhaustive memory consumption.