Open
Description
- Client: ["REQ", "123", ...]
- Relay: ["EVENT", "a", ...], ["EVENT", "b", ...], etc...
- Relay: ["EOSE", "123"]
- Client: ["CLOSE", "123"]
- Relay: ["CLOSED", "123"] (maybe? this is the question)
When writing the code, the relay naturally wanted to send a CLOSED message after the client sent CLOSE. I did extra work to prevent it from sending the extra CLOSED message, by checking whether it was a client-initiated or relay-initiated close.
But maybe it should send CLOSED? It's redundant. Or maybe it's useful information to know that the relay respected the close.
Metadata
Metadata
Assignees
Labels
No labels