Don't process unless connected, and only fire loopback messages back up the loopback
This commit is contained in:
@@ -41,6 +41,8 @@ func (t *tunListener) process() {
|
||||
id: m.id,
|
||||
// the session id
|
||||
session: m.session,
|
||||
// is loopback conn
|
||||
loopback: m.loopback,
|
||||
// close chan
|
||||
closed: make(chan bool),
|
||||
// recv called by the acceptor
|
||||
|
||||
Reference in New Issue
Block a user