Merge pull request #824 from micro/tunnel
wait for response on accept message
This commit is contained in:
commit
0edcd5c8dc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user