Brad Fitzpatrick
|
fefd7e10dc
|
types/structs: add structs.Incomparable annotation, use it where applicable
Shotizam before and output queries:
sqlite> select sum(size) from bin where func like 'type..%';
129067
=>
120216
|
2020-05-03 14:05:32 -07:00 |
|
Brad Fitzpatrick
|
45f2b53aca
|
all: remove unnecessary trailing newlines in format patterns for consistency
And document on logger.Logf that it's unnecessary.
|
2020-04-11 08:35:34 -07:00 |
|
David Crawshaw
|
2f8719741e
|
controlclient: do not send duplicate hostinfo/netinfo
This should never happen, so log when it does so we can fix it.
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
|
2020-04-02 13:12:29 +11:00 |
|
David Crawshaw
|
d99498bee2
|
controlclient: set default TimeNow function
Panic on call to nil func found by expanded ipn/e2e_test.
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
|
2020-03-08 09:03:27 -04:00 |
|
Brad Fitzpatrick
|
b27d4c017a
|
magicsock, wgengine, ipn, controlclient: plumb regular netchecks to map poll
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2020-03-04 08:19:45 -08:00 |
|
Brad Fitzpatrick
|
d8de11a01b
|
control: make Hostinfo accessed by pointer
Fix potential races in copying aliased slices by value.
Also few little doc updates.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2020-02-25 10:35:51 -08:00 |
|
Brad Fitzpatrick
|
2896be60db
|
Move "logger" package to under types, now that we have it.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2020-02-14 20:23:05 -08:00 |
|
Brad Fitzpatrick
|
747c7d7ce2
|
types/empty: add Message, stop using mysterious *struct{}
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2020-02-14 13:35:49 -08:00 |
|
Brad Fitzpatrick
|
587c3fcac4
|
control/controlclient, wgengine/magicsock: misc cleanups
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
2020-02-14 09:50:08 -08:00 |
|
David Crawshaw
|
2b947b3b40
|
controlclient: handle nil Logf option
|
2020-02-11 15:08:07 -05:00 |
|
David Anderson
|
fe9af19da9
|
controlclient: remove unnecessary comparison to bool.
Signed-off-by: David Anderson <dave@natulte.net>
|
2020-02-10 23:14:38 -08:00 |
|
Earl Lee
|
a8d8b8719a
|
Move Linux client & common packages into a public repo.
|
2020-02-09 09:32:57 -08:00 |
|