mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-05-02 08:05:06 +03:00
Remove metadata-peer association until we have some sensible way to cache it
This commit is contained in:
parent
2056e75ad5
commit
64060a447c
4 changed files with 4 additions and 7 deletions
|
@ -287,7 +287,7 @@ func (iface *tcpInterface) handler(sock net.Conn, incoming bool) {
|
|||
}()
|
||||
// Note that multiple connections to the same node are allowed
|
||||
// E.g. over different interfaces
|
||||
p := iface.core.peers.newPeer(&info.box, &info.sig, getSharedKey(myLinkPriv, &meta.link), sock.RemoteAddr().String(), metadata{})
|
||||
p := iface.core.peers.newPeer(&info.box, &info.sig, getSharedKey(myLinkPriv, &meta.link), sock.RemoteAddr().String())
|
||||
p.linkOut = make(chan []byte, 1)
|
||||
in := func(bs []byte) {
|
||||
p.handlePacket(bs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue