mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 10:05:17 +00:00
Fix first queued packet on session pcreation
This commit is contained in:
parent
1c59338f01
commit
366d2af1d3
@ -279,7 +279,7 @@ func (ss *sessions) handlePing(ping *sessionPing) {
|
||||
// send
|
||||
var bs []byte
|
||||
bs, sinfo.packet = sinfo.packet, nil
|
||||
go func() { sinfo.send <- bs }()
|
||||
ss.core.router.sendPacket(bs)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user