-
bug fixes:
-
Fixed support for Ruby 1.8.7 which was broken in 0.3.7
-
-
new features:
-
Supports sending 1009 error code when incoming frame is too large to handle, and added associated exception class WSMessageTooBigError [Martyn Loughran]
-
Supports overriding the maximum frame size by setting the max_frame_size accessor on the connection object (in bytes). Default unchanged at 10MB. [Martyn Loughran]
-
-
bug fixes:
-
Fixes some encoding issues on Ruby 1.9 [Dingding Ye]
-
Raises a HandshakeError if WS header is empty [Markus Fenske]
-
Connection#send would mutate passed string to BINARY encoding. The fix still mutates the string by forcing the encoding back to UTF-8 before returning, but if the passed string was encoded as UTF-8 this is equivalent [Martyn Loughran]
-
-
new features:
-
Supports sending ping & pong messages
-
Supports binding to received ping & pong messages
-
-
new features:
-
Support WebSocket draft 13
-
-
bugfixes:
-
Handling of messages with > 2 frames
-
Encode string passed to onmessage handler as UTF-8 on Ruby 1.9
-
Add 10MB frame length limit to all draft versions
-
-
new features:
-
Support WebSocket drafts 07 & 08
-
-
new features:
-
Support WebSocket drafts 05 & 06
-
-
changes:
-
Accept request headers in a case insensitive manner
-
Change handling of errors. Previously some application errors were caught internally and were invisible unless an onerror callback was supplied. See readme for details
-
-
bugfixes:
-
Performance improvements to draft 76 framing
-
Limit frame lengths for draft 76
-
Better error handling for draft 76 handshake
-
Ruby 1.9 support
-
-
new features:
-
Support for WebSocket draft 03
-
-
bugfixes:
-
Handle case when handshake split into two receive_data calls
-
Stricter regexp matching of frames
-
-
new features:
-
Allow custom ssl certificate to be used by passing :tls_options
-
Protect against errors caused by non limited frame lengths
-
Use custom exceptions rather than RuntimeError
-
-
bugfixes:
-
Handle invalid HTTP request with HandshakeError
-
-
new features:
-
onerror callback
-
-
bugfixes:
-
proper handling of zero spaces in key1 or key2(prevent ZeroDivisionError)
-
convert received data to utf-8 to prevent ruby 1.9 errors
-
fix handling of null bytes within a frame
-
-
new features:
-
none
-
-
bugfixes:
-
allow $ character inside header key
-
-
new features:
-
wss/ssl support
-
-
bugfixes:
-
can’t & strings
-
-
initial release