Browse files

Correct version of 73c3e3.

  • Loading branch information...
1 parent 08b7305 commit 98a3c9d7896ad3009fb347c7b37e7c86ae8ae6fe @glasser glasser committed Apr 30, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/trans-websocket.coffee
View
4 src/trans-websocket.coffee
@@ -102,12 +102,10 @@ Transport = transport.Transport
# Inheritance only for decorateConnection.
class RawWebsocketSessionReceiver extends transport.Session
- protocol: "websocket-raw"
-
constructor: (req, conn, server, @ws) ->
@prefix = server.options.prefix
@readyState = Transport.OPEN
- @recv = {connection: conn}
+ @recv = {connection: conn, protocol: "websocket-raw"}
@connection = new transport.SockJSConnection(@)
@decorateConnection(req)

0 comments on commit 98a3c9d

Please sign in to comment.