mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 14:36:52 +01:00
Clock cached msg2 resends per path in the fragment table, so a copy of msg1 arriving by a relay or a second address is answered even when the direct path only works one way
This commit is contained in:
1 parent
1d0281cba5
commit
bd82089a3f
8 files changed
+207
-57
No files matched your search
+3
-2
@@ -261,8 +261,9 @@ type HostInfo struct {
|
||||
HandshakePacket map[uint8][]byte
|
||||
|
||||
// A responder resending a fragmented handshake response offers symbols it has
|
||||
// not sent before, at most once per retry interval.
|
||||
handshakeResendAt atomic.Int64 // unix nanos of the last send
|
||||
// not sent before. Once complete, a hybrid responder confirms again for a
|
||||
// resent msg3 at most once per retry interval.
|
||||
handshakeResendAt atomic.Int64 // unix nanos of the last confirmation
|
||||
handshakeNextSymbol atomic.Uint32 // next fragment symbol index to offer
|
||||
|
||||
// nextLHQuery is the earliest we can ask the lighthouse for new information.
|
||||
|
||||
Reference in new issue
Block a user