syncthing/lib/connections
Jakob Borg 466b56ded1
lib/protocol: Cache expensive key operations (fixes #8599) (#8820)
This adds a cache to the expensive key generation operations. It's fixes
size LRU/MRU stuff to keep memory usage bounded under absurd conditions.

Also closes #8600.
2023-03-12 20:06:59 +01:00
..
mocks lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
registry lib: Removal global connection registry (#8254) 2022-04-09 16:04:56 +02:00
connections_test.go lib/connections: Always run a simple connection test (#7866) 2022-04-10 20:54:42 +02:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
deprecated.go lib/connections: Handle QUIC not being available (#7186) 2020-12-09 19:23:50 +01:00
dialqueue_test.go all: Fix various user-facing and non-user-facing typos (#8509) 2022-08-23 15:44:11 +02:00
dialqueue.go lib/config, lib/connections: Add optional connection limits (fixes #7176) (#7223) 2021-01-11 15:14:44 +01:00
lan_test.go all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
limiter_test.go all: Use new Go 1.19 atomic types (#8772) 2023-02-07 12:07:34 +01:00
limiter.go all: Use new Go 1.19 atomic types (#8772) 2023-02-07 12:07:34 +01:00
quic_dial.go build: Update quic-go and pfilter for Go 1.20 (fixes #8768) (#8769) 2023-02-02 22:00:50 +01:00
quic_listen.go all: Use new Go 1.19 atomic types (#8772) 2023-02-07 12:07:34 +01:00
quic_misc.go build: Update quic-go and pfilter for Go 1.20 (fixes #8768) (#8769) 2023-02-02 22:00:50 +01:00
quic_unsupported.go all: Unused errors 2022-07-28 19:08:51 +02:00
relay_dial.go lib: Removal global connection registry (#8254) 2022-04-09 16:04:56 +02:00
relay_listen.go all: Modernize error wrapping (#8491) 2022-08-16 10:01:49 +02:00
service.go lib/protocol: Cache expensive key operations (fixes #8599) (#8820) 2023-03-12 20:06:59 +01:00
structs.go gui, lib/connections: Let the backend decide whether connection is local (fixes #8686) (#8694) 2022-11-28 09:28:33 +01:00
tcp_dial.go lib: Removal global connection registry (#8254) 2022-04-09 16:04:56 +02:00
tcp_listen.go lib: Removal global connection registry (#8254) 2022-04-09 16:04:56 +02:00
util.go lib/connections: Add connection benchmarks, allow binding to port zero addresses (#7648) 2021-05-10 15:44:47 +01:00