Merge pull request #824 from micro/tunnel

wait for response on accept message
This commit is contained in:
Asim Aslam 2019-10-07 18:33:00 +01:00 committed by GitHub
commit 0edcd5c8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ func (s *session) Accept() error {
case <-s.closed: case <-s.closed:
return io.EOF return io.EOF
case s.send <- msg: case s.send <- msg:
return nil // no op here
} }
// wait for send response // wait for send response