lib/rev/websocket.rb in rev-websocket-0.1.2 vs lib/rev/websocket.rb in rev-websocket-0.1.3

- old
+ new

@@ -59,9 +59,15 @@ @http11 = HTTP11_PRASER.new @http11_nbytes = 0 @request = {DummyIO::KEY => DummyIO.new} end + def on_readable + super + rescue + close + end + def on_read(data) @data << data dispatch end