wait for response on accept message
This commit is contained in:
parent
e4f8b5de70
commit
2e1432d5dc
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user