clean up unused session code

This commit is contained in:
Arceliar 2019-08-23 22:25:40 -05:00
parent 533da351f9
commit e3603c0462
2 changed files with 0 additions and 207 deletions

View file

@ -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.