- Prevent the client hanging if
close()
is called when already closing
- Fix a race condition that caused a timeout not to be cancelled immediately when the WebSocket is closed
- Change license from MIT to Apache 2.0
(This version was pulled due to an error when publishing)
- Forcibly close the I/O stream after a timeout if the peer does not respond
after calling
close()
- Introduce a
net
option to theClient
class for setting things like, say,servername
- Add the standard
code
andreason
parameters to theclose
method
- Don't send input to the driver before
start()
is called
- Make sure the TCP socket is not left open when closing the connection
- Only emit
error
once, and don't emit it afterclose
- Check that all options to the WebSocket constructor are recognized
- Allow protocol extensions to be passed into websocket-extensions
- Send the correct hostname when upgrading a connection to TLS
- Support connections via HTTP proxies
- Close the connection cleanly if we're still waiting for a handshake response
- Allow sockets to be closed when they are in any state other than
CLOSED
- Make sure the
close
event is emitted by clients on Node v0.10
- Support the
maxLength
websocket-driver option - Make the client emit
error
events on network errors
- Allow the server to send custom headers with EventSource responses
- Add
ca
option to the client for specifying certificate authorities - Start the server driver asynchronously so that
onopen
handlers can be added
- Add support for custom headers
- Extract the protocol handlers into the
websocket-driver
library - Support the Node streaming API
- Emit the
close
event if TCP is closed before CLOSE frame is acked
- Add
Connection: close
to EventSource response - Handle situations where
request.socket
is undefined
- Add WebSocket error code
1011
. - Handle URLs with no path correctly by sending
GET /
- Treat anything other than a
Buffer
as a string when callingsend()
- Add
ping()
method to server-sideWebSocket
andEventSource
- Buffer
send()
calls until the draft-76 handshake is complete - Fix HTTPS problems on Node 0.7
- Call
setNoDelay(true)
onnet.Socket
objects to reduce latency
- Add support for
EventSource
connections
- Add support for
Sec-WebSocket-Protocol
negotiation - Support
hixie-76
close frames and 75/76 ignored segments - Improve performance of HyBi parsing/framing functions
- Decouple parsers from TCP and reduce write volume
- Detect closed sockets on the server side when TCP connection breaks
- Make
hixie-76
sockets work through HAProxy
- Fix
addEventListener()
interface methods
- Initial release, based on WebSocket components from Faye