Audrius Butkevicius
f112ef34f6
Don't check interface flags on Windows
2015-05-17 16:42:26 +01:00
dartraiden
32a76901a9
typos and spelling correction
2015-04-29 15:59:47 +02:00
Audrius Butkevicius
433b923ea7
Add mutex logging
2015-04-23 10:54:14 +01:00
Jakob Borg
f5030f1c2c
Update XDR dependency ( fixes #1606 )
2015-04-08 14:49:29 +02:00
Jakob Borg
221f43e4bd
Use a socket per interface for v6 multicast ( fixes #1563 )
2015-04-06 20:55:50 +02:00
Jakob Borg
6da7f17c4a
Implement version vectors
2015-03-25 23:10:34 +01: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
df4f22e899
Don't yell about discovery listening and resolving (ref #1418 )
2015-03-11 20:57:20 +01:00
Audrius Butkevicius
0c049179b4
Silence discovery warnings when v6 not available ( fixes #1418 )
2015-03-08 16:49:12 +00: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
Jakob Borg
06fd2268d9
Use Go 1.4 'generate' to create XDR codec
2014-12-06 14:23:10 +01:00
Jakob Borg
2a886576a6
Fix announce timers on Solaris (and others, given the right timing) (...)
...
In the successfull case, we start the timer with NewTimer(0), then do a
bunch of stuff during which time it can fire, then reset it with
Reset(0). The result is that two timer firings are queued when we enter
the select loop, so we do two announcements back to back and fail the
tests.
2014-12-03 08:36:45 +01:00
Audrius Butkevicius
2912defb97
Add tests for new discovery
2014-12-01 10:30:25 +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
15ee9a5cac
Break out logger as a reusable component
2014-10-26 13:16:54 +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
7d5a98409b
Move discovery protocol spec
2014-09-27 12:54:23 +02:00
Jakob Borg
14817e31f6
Move top level packages to internal.
2014-09-27 09:42:10 +02:00