syncthing/lib/config
Jakob Borg 9b660c1959
lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868)
This makes the various protocol priorities configurable among the other
options. With this, it's possible to prefer QUIC over TCP for WAN
connections, for example. Both sides need to be similarly configured for
this to work properly.

The default priority order remains the same as previously (TCP, QUIC,
Relay, with LAN better than WAN).

To make this happen I made each dialer & listener more priority aware,
and moved the check for whether a connection is LAN or not into the
dialer / listener -- this is the new "lanChecker" type that's passed
around.
2023-04-16 14:54:28 +02:00
..
mocks
testdata lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
authmode.go
authmode.pb.go
blockpullorder.go
blockpullorder.pb.go
commit_test.go
config_test.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
config.go all: Support syncing extended attributes (fixes #2698) (#8513) 2022-09-14 09:50:55 +02:00
config.pb.go
debug.go
deviceconfiguration.go
deviceconfiguration.pb.go
folderconfiguration.go lib/config: Allow sub-second watcher delay (fixes #7859) (#7864) 2023-03-18 08:50:38 +01:00
folderconfiguration.pb.go lib/config: Allow sub-second watcher delay (fixes #7859) (#7864) 2023-03-18 08:50:38 +01:00
foldertype.go
foldertype.pb.go
guiconfiguration.go
guiconfiguration.pb.go
ldapconfiguration.go
ldapconfiguration.pb.go
ldaptransport.go
ldaptransport.pb.go
migrations_test.go
migrations.go all: Support syncing extended attributes (fixes #2698) (#8513) 2022-09-14 09:50:55 +02:00
observed.pb.go
optionsconfiguration.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
optionsconfiguration.pb.go lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868) 2023-04-16 14:54:28 +02:00
pullorder.go
pullorder.pb.go
size_test.go
size.go
size.pb.go
tuning_test.go
tuning.go
tuning.pb.go
versioningconfiguration.go
versioningconfiguration.pb.go
wrapper.go all: Fix typos found by codespell (#8833) 2023-03-21 08:07:28 +01:00