Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Optional graceful close specified by WebSocket constructor #8

Open
pgriess opened this issue May 21, 2011 · 1 comment
Open

Optional graceful close specified by WebSocket constructor #8

pgriess opened this issue May 21, 2011 · 1 comment

Comments

@pgriess
Copy link
Owner

pgriess commented May 21, 2011

It seems that nobody implements graceful close on the server.

We should default to non-graceful close (i.e. sever the TCP connection), but allow clients to specify that they wish for graceful close using an option in the WebSocket constructor.

@rauchg
Copy link

rauchg commented Jun 12, 2011

+1

Let's sever the TCP connection with .close, and let's send the close packet with .close(true).

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

2 participants