diff --git a/tunnel/listener.go b/tunnel/listener.go index d341d019..3002e7b6 100644 --- a/tunnel/listener.go +++ b/tunnel/listener.go @@ -53,14 +53,12 @@ func (t *tunListener) process() { // save the socket conns[m.session] = sock - sock.recv <- m // send to accept chan select { case <-t.closed: return case t.accept <- sock: - continue } }