mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
clean up unused session code
This commit is contained in:
parent
533da351f9
commit
e3603c0462
2 changed files with 0 additions and 207 deletions
|
@ -161,12 +161,6 @@ func (r *router) _handleTraffic(packet []byte) {
|
|||
return
|
||||
}
|
||||
sinfo.recv(r, &p)
|
||||
return
|
||||
select {
|
||||
case sinfo.fromRouter <- p:
|
||||
case <-sinfo.cancel.Finished():
|
||||
util.PutBytes(p.Payload)
|
||||
}
|
||||
}
|
||||
|
||||
// Handles protocol traffic by decrypting it, checking its type, and passing it to the appropriate handler for that traffic type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue