Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Dyad forcibly closes sockets on shutdown #11

Open
fatcerberus opened this issue Nov 5, 2015 · 0 comments
Open

Dyad forcibly closes sockets on shutdown #11

fatcerberus opened this issue Nov 5, 2015 · 0 comments

Comments

@fatcerberus
Copy link

When dyad_shutdown() is called, all outstanding streams have dyad_close() called on them. This prevents any data recently written to the stream--for example, a message indicating the session is ending--not to be received on the other end. It would be nicer if instead, shutdown could flush write buffers before closing the streams.

This could be optional, as the current behavior may be preferable in some circumstances.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant