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
..
stcli all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stcompdirs all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stcrashreceiver cmd/stcrashreceiver: Store and serve compressed reports (#5892) 2019-07-28 11:13:04 +02:00
stdisco all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stdiscosrv cmd/stdiscosrv: Only generate keypair if it doesn't exist (fixes #5809) (#6419) 2020-03-19 14:50:24 +01:00
stevents all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stfileinfo all: Implement variable sized blocks (fixes #4807) 2018-04-16 19:08:50 +01:00
stfinddevice lib: Faster termination on exit (ref #6319) (#6329) 2020-02-13 14:43:00 +01:00
stfindignored cmd/stfindignored: Default to current directory 2018-06-06 22:24:36 +02:00
stgenfiles all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
stindex lib/db: Slightly improve indirection (ref #6372) (#6373) 2020-02-27 11:19:21 +01:00
strelaypoolsrv cmd/strelaypoolsrv: Fix race condition in caching (#6496) 2020-04-04 20:20:25 +01:00
strelaysrv cmd/strelaysrv: Harmonize and improve log output (ref #6492) 2020-04-04 13:31:42 +02:00
stsigtool cmd/stsigtool: Silence spurious Go 1.10 test/vet complaint 2017-12-10 19:42:17 +01:00
stupgrades cmd/stupgrades: Generate appropriate upgrade data (fixes #5924) (#5960) 2019-08-16 10:04:10 +02:00
stvanity all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
stwatchfile all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
syncthing all: Pass db intervals as args not env vars (#6448) 2020-03-24 13:53:20 +01:00
uraggregate cmd/ur*: Updates for 1.0 2019-01-03 21:46:02 +01:00
ursrv cmd/ursrv: Minor heatmap tweaks 2020-03-26 15:19:05 +01:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00