Adam Ierymenko
|
4e4fd51117
boring doc stuff
|
9 gadi atpakaļ |
Adam Ierymenko
|
0d9f33dc4f
Fix: (1) Windows stack overflow due to buffer too large in peer deserialize, (2) clean up some other stuff seen during debugging and reduce the sizes of some buffers due to Windows small stack size, (3) remove a redundant try/catch.
|
9 gadi atpakaļ |
Adam Ierymenko
|
451b8aa7b2
Query both root and network controller for multicast last resort GATHER.
|
9 gadi atpakaļ |
Adam Ierymenko
|
4328c6c3bc
Fix delete oldest logic.
|
9 gadi atpakaļ |
Adam Ierymenko
|
b171c9a0db
Replace slow std::list<> with an O(log(N)) data structure for the cluster relaying send queue.
|
9 gadi atpakaļ |
Adam Ierymenko
|
32ec378e3b
Announce that we have peers on the cluster when we first see them to improve startup times, and add a result crunching script to tests/http.
|
9 gadi atpakaļ |
Adam Ierymenko
|
35c4e28f31
Mark geo-redirected paths as suboptimal and do not report that we have a peer if all we have is one of these. Also a few other small fixes.
|
9 gadi atpakaļ |
Adam Ierymenko
|
47424df417
Fix (1) a deadlock bug and (2) a bug that prevented distributed rendezvous messages from being sent.
|
9 gadi atpakaļ |
Adam Ierymenko
|
73e2c6e511
How did that ever work?
|
9 gadi atpakaļ |
Adam Ierymenko
|
4ad2ff2f71
.
|
9 gadi atpakaļ |
Adam Ierymenko
|
b57c855a8c
PROXY_SEND fix.
|
9 gadi atpakaļ |
Adam Ierymenko
|
ed954c5ca2
.
|
9 gadi atpakaļ |
Adam Ierymenko
|
21341ab15c
Ready to test.
|
9 gadi atpakaļ |
Adam Ierymenko
|
ff81415ffe
Build fixes...
|
9 gadi atpakaļ |
Adam Ierymenko
|
57b71bfff0
Cluster simplification and refactor work in progress...
|
9 gadi atpakaļ |
Adam Ierymenko
|
6bc8c9d8ef
Clustering cleanup, still a work in progress.
|
9 gadi atpakaļ |
Adam Ierymenko
|
5f39d5b7ea
Further pare down Cluster messaging and rename some stuff.
|
9 gadi atpakaļ |
Adam Ierymenko
|
8ea5f424fd
Small amount of cleanup.
|
9 gadi atpakaļ |
Adam Ierymenko
|
3fa1b5a89d
Make cluster HAVE_PEER a little lighter by removing full identity. Technically this is not necessary and they will propagate over time in any case. Might restore it in some form in the future.
|
9 gadi atpakaļ |
Adam Ierymenko
|
60ce886605
Tweak some timings for better reliability.
|
9 gadi atpakaļ |
Adam Ierymenko
|
1b4cc4af5c
Fix evil bug, and instrument/assert on some other stuff, and a bit of cleanup.
|
9 gadi atpakaļ |
Adam Ierymenko
|
d6c0d176ee
Periodically re-announce peers that we have.
|
9 gadi atpakaļ |
Adam Ierymenko
|
68d6d3c4ff
Fix bug in peer count.
|
9 gadi atpakaļ |
Adam Ierymenko
|
51fcc75354
Some cleanup, and use getPeerNoCache() exclusively in Cluster.
|
9 gadi atpakaļ |
Adam Ierymenko
|
4221552c0b
Use getPeerNoCache() in Cluster to avoid keeping all peers cached everywhere.
|
9 gadi atpakaļ |
Adam Ierymenko
|
cc1b275ad9
Replicate peer endpoints and forget paths if we have them -- this allows two clusters to talk to each other, whereas forgetting all paths does not.
|
9 gadi atpakaļ |
Adam Ierymenko
|
cc6080fe38
(1) No need to confirm if we are a root (small optimization), (2) Refactor peer affinity tracking.
|
9 gadi atpakaļ |
Adam Ierymenko
|
16bc3e0398
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
|
9 gadi atpakaļ |
Adam Ierymenko
|
40976c02a4
Forget paths to peers if we are handing them off.
|
9 gadi atpakaļ |
Adam Ierymenko
|
f692cec763
Change how cluster relays packets -- just PROXY_UNITE and then send packet via normal ZeroTier front plane -- more efficient and eliminates fragmentation issues.
|
9 gadi atpakaļ |