Thomasdezeeuw/stored

Cleanly close peer connection by sending exit message

Opened this issue · 0 comments

Location:

match select(ctx.receive_next(), buf.read_from(&mut stream)).await {

Currently actor::Context::receive_next never returns when it has no more messages, so it never closes the connection cleanly.

Related Thomasdezeeuw/heph#280.