fix some tunnel bugs like races and duplicate messages...

This commit is contained in:
Asim Aslam
2019-08-10 16:37:49 +01:00
parent c1ff3ceee4
commit 2c66e94045
2 changed files with 13 additions and 10 deletions

View File

@@ -48,9 +48,6 @@ func (t *tunListener) process() {
wait: make(chan bool),
}
// first message
sock.recv <- m
// save the socket
conns[m.session] = sock