Files
syncthing/cmd
greatroar b7ba401c0b cmd/strelaypoolsrv: Fix race condition in caching (#6496)
Successful LRU cache lookups modify the cache's recency list, so
RWMutex.RLock isn't enough protection.

Secondarily, multiple concurrent lookups with the same key should not
create separate rate limiters, so release the lock only when presence
of the key in the cache has been ascertained.

Co-authored-by: greatroar <@>
2020-04-04 20:20:25 +01:00
..
2020-03-03 22:40:00 +01:00
2019-01-03 21:46:02 +01:00
2020-03-26 15:19:05 +01:00
2014-07-01 12:20:25 +02:00