Don't send WS message on open from the server; this breaks the Autobahn tests.

This commit is contained in:
James Coglan
2012-02-12 23:52:12 +00:00
parent b22275ba47
commit 183e56c770
-2
View File
@@ -8,8 +8,6 @@ App = lambda do |env|
ws = Faye::WebSocket.new(env, ['irc', 'xmpp'], :ping => 5)
p [:open, ws.url, ws.version, ws.protocol]
ws.send('The server says hi.')
ws.onmessage = lambda do |event|
ws.send(event.data)
end