Open
Description
See note added in #1283. The API we have is not at all amenable to sending a message before disconnecting, and its unclear how exactly to enable it. We don't really want to call the users' write method from read_event
(we faught hard to remove it). We could consider making the disconnection a "message" which we put in the message queue, allowing it to be handled via the normal message sending pipelines. Ideally of course we'd stop processing inbound messages from the peer after we decide they are useless, however, which would require some additional state tracking.
Metadata
Metadata
Assignees
Labels
No labels