mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-07-15 04:15:07 +03:00
Use larger UDP chunks for link-local IP and let the OS fragment it. Switch to UDP for link-local peers. Minor code cleanup for TCP.
This commit is contained in:
parent
8c7d514032
commit
4045597516
4 changed files with 53 additions and 47 deletions
|
@ -21,7 +21,7 @@ const (
|
|||
wire_DHTLookupResponse // inside protocol traffic header
|
||||
wire_SearchRequest // inside protocol traffic header
|
||||
wire_SearchResponse // inside protocol traffic header
|
||||
//wire_Keys // udp key packet (boxPub, sigPub)
|
||||
wire_Keys // udp key packet (boxPub, sigPub)
|
||||
)
|
||||
|
||||
// Encode uint64 using a variable length scheme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue