fix some tunnel bugs like races and duplicate messages...
This commit is contained in:
@@ -48,9 +48,6 @@ func (t *tunListener) process() {
|
||||
wait: make(chan bool),
|
||||
}
|
||||
|
||||
// first message
|
||||
sock.recv <- m
|
||||
|
||||
// save the socket
|
||||
conns[m.session] = sock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user