Add dynamic relay lookup (DDoS relays.syncthing.net!)

This commit is contained in:
Audrius Butkevicius
2015-07-23 20:39:44 +01:00
parent 687fbb0a7e
commit 6cccd9b6fc
3 changed files with 65 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ func TestDefaultValues(t *testing.T) {
LocalAnnEnabled: true,
LocalAnnPort: 21025,
LocalAnnMCAddr: "[ff32::5222]:21026",
RelayServers: []string{"dynamic+https://relays.syncthing.net"},
MaxSendKbps: 0,
MaxRecvKbps: 0,
ReconnectIntervalS: 60,