syncthing/lib/discover
Jakob Borg 9a0e5a7c18 lib/discover: Add instance ID to local discovery (fixes #3278)
A random "instance ID" is generated on each start of the local discovery
service. The instance ID is included in the announcement. When we see a
new instance ID we treat is a new device and respond with an
announcement of our own. Hence devices get to know each other quickly on
restart.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3385
2016-07-04 11:16:48 +00:00
..
cache_test.go lib/connections: Refactor 2016-05-04 19:38:12 +00:00
cache.go gui: Add addresses for disconnected devices (fixes #3340) 2016-06-26 10:47:23 +00:00
debug.go Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
discover.go lib/discover: Add instance ID to local discovery (fixes #3278) 2016-07-04 11:16:48 +00:00
doc.go Fix typos. 2015-11-11 21:20:34 -05:00
global_test.go lib/connections: Refactor 2016-05-04 19:38:12 +00:00
global.go cmd/syncthing: Use ReadAll + json.Unmarshal in places were we care about consuming the reader 2016-05-06 22:01:56 +00:00
local_test.go lib/discover: Add instance ID to local discovery (fixes #3278) 2016-07-04 11:16:48 +00:00
local.go lib/discover: Add instance ID to local discovery (fixes #3278) 2016-07-04 11:16:48 +00:00
local.pb.go lib/discover: Add instance ID to local discovery (fixes #3278) 2016-07-04 11:16:48 +00:00
local.proto lib/discover: Add instance ID to local discovery (fixes #3278) 2016-07-04 11:16:48 +00:00