syncthing/cmd/stdiscosrv
Jakob Borg 9084510e1b
cmd/stdiscosrv: Sort addresses before replication (fixes #6093) (#6094)
This makes sure addresses are sorted when coming in from the API. The
database merge operation still checks for correct ordering (which is
quick) and sorts if it isn't correct (legacy database record or
replication peer), but then does a copy first.

Tested with -race in production...
2019-10-18 10:50:19 +02:00
..
etc build, etc: Add systemd units and ufw rules for relay and discovery (fixes #5115) (#5350) 2019-08-08 18:04:52 +02:00
scripts build, etc: Add systemd units and ufw rules for relay and discovery (fixes #5115) (#5350) 2019-08-08 18:04:52 +02:00
README.md build: Packaging for stdiscosrv 2018-01-16 20:46:48 +01:00
apisrv.go cmd/stdiscosrv: Sort addresses before replication (fixes #6093) (#6094) 2019-10-18 10:50:19 +02:00
apisrv_test.go cmd/stdiscosrv: Be more picky about allowed addresses (fixes #5151) (#5153) 2018-08-30 18:06:35 +01:00
database.go cmd/stdiscosrv: Sort addresses before replication (fixes #6093) (#6094) 2019-10-18 10:50:19 +02:00
database.pb.go all: Upgrade github.com/gogo/protobuf and regenerate (fixes #6085) 2019-10-18 09:53:59 +02:00
database.proto all: Update protobuf package 1.0.0 -> 1.2.0 (#5452) 2019-01-14 11:53:36 +01:00
database_test.go all: Fix typos (#4772) 2018-02-24 08:51:29 +01:00
main.go all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
replication.go cmd/stdiscosrv: Add replication heartbeats (fixes #5117) (#5120) 2018-08-15 16:52:20 +02:00
stats.go cmd: Update prometheus_client (fixes #5280) (#5282) 2018-10-21 16:11:26 +01:00

README.md

stdiscosrv

This is the global discovery server for the syncthing project.

Usage

https://docs.syncthing.net/users/stdiscosrv.html