jcoglan/faye-websocket-node — Issue #12: draft76 close frame unsupported
Author: majek
Created: 2011-12-19 16:54:47+00:00
State: open

As far as I understand:
https://github.com/jcoglan/faye-websocket-node/blob/master/lib/faye/websocket/draft75_parser.js#L27

There is no support for a close frame.

The spec http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76 says:

```
Either peer can send a 0xFF frame with length 0x00 to begin the
closing handshake. Upon receiving a 0xFF frame, the other peer sends
an identical 0xFF frame in acknowledgement, if it hasn't already sent
one. Upon receiving _that_ 0xFF frame, the first peer then closes
the connection, safe in the knowledge that no further data is
forthcoming.
```