From 2e1432d5dcc4e29c787edb448ade54023d023fe0 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 7 Oct 2019 18:29:49 +0100 Subject: [PATCH] wait for response on accept message --- tunnel/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunnel/session.go b/tunnel/session.go index e0eb8829..5d93fc32 100644 --- a/tunnel/session.go +++ b/tunnel/session.go @@ -163,7 +163,7 @@ func (s *session) Accept() error { case <-s.closed: return io.EOF case s.send <- msg: - return nil + // no op here } // wait for send response