wait for response on accept message

This commit is contained in:
Asim Aslam 2019-10-07 18:29:49 +01:00
parent e4f8b5de70
commit 2e1432d5dc

View File

@ -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