Audrius Butkevicius
433b923ea7
Add mutex logging
2015-04-23 10:54:14 +01:00
Jakob Borg
221f43e4bd
Use a socket per interface for v6 multicast ( fixes #1563 )
2015-04-06 20:55:50 +02:00
Jakob Borg
9701998f82
Add negative cache time to global discovery
...
This reduces the amount of external queries by not repeating a query for
a given address if we have failed within the last three minutes.
2015-03-25 16:55:42 +01:00
Jakob Borg
32425c5561
MPLv2
2015-03-17 16:02:27 +01:00
Jakob Borg
eef1aebe8c
Refactor out protocol and luhn (protocol dependency) packages
2015-01-13 13:22:56 +01:00
Audrius Butkevicius
25fece2d50
Make discovery logging a bit better ( fixes #1188 )
2015-01-10 16:15:16 +00:00
Audrius Butkevicius
69f8ac6b56
Change to URL based announce server addresses ( fixes #943 )
2014-12-01 10:30:25 +00:00
Audrius Butkevicius
fd2d2c035e
Add support for multiple announce servers ( fixes #677 )
...
Somebody owes me a beer.
2014-11-30 13:25:06 +01:00
Jakob Borg
577aaf8ad6
Data race: Discoverer.registryLock must cover the contents of registry as well
2014-11-29 23:04:25 +01:00
Jakob Borg
ed85bfa915
Don't perform external discovery lookups until local cache has had time to warm ( fixes #666 )
2014-11-26 17:23:15 +01:00
Jakob Borg
fe2dd79838
Clean up global discovery timer handing
2014-11-19 01:03:43 +04:00
Jakob Borg
82c6caef85
Use more inclusive copyright header
2014-11-17 12:54:42 +01:00
Jakob Borg
f2adfde1a8
Update xdr; handle marshalling errors
2014-10-21 09:20:14 +02:00
Phill Luby
b110b7c3f7
Make cacheEntry public so that it can be marshalled to the UI.
2014-10-15 21:52:06 +01:00
Jochen Voss
1a2a27b988
Minor fixes.
...
- Bug fix - use .Errorf() instead of .Error():
Before this change, an error message for failed tests in files/set_test.go
wrongly tried to use format strings in a call to .Error()
- Change event constants to be of type EventType rather than untyped integers.
- Slightly relax the locking for registry cache lookups:
For read access to Discover.registry we only need to take a read lock.
- Some cosmetic fixes.
2014-10-06 23:03:24 +01:00
Jakob Borg
9edce23e76
Relicense to GPL
2014-10-01 07:53:59 +02:00
Audrius Butkevicius
26e4669316
Run go fmt -w
2014-09-28 14:23:08 +01:00
Audrius Butkevicius
6c352dca74
Rename Repository -> Folder, Node -> Device ( fixes #739 )
2014-09-28 14:23:07 +01:00
Jakob Borg
14817e31f6
Move top level packages to internal.
2014-09-27 09:42:10 +02:00