Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: sockjs/sockjs-node
...
head fork: sockjs/sockjs-node
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Nov 07, 2011
@majek majek emergency patch for #30 23c3dd3
View
1  src/trans-eventsource.coffee
@@ -20,5 +20,6 @@ exports.app =
res.write('\r\n')
session = transport.Session.bySessionIdOrNew(req.session, @)
+ session.request = req
session.register( new EventSourceReceiver(res, @options) )
return true
View
1  src/trans-htmlfile.coffee
@@ -45,4 +45,5 @@ exports.app =
session = transport.Session.bySessionIdOrNew(req.session, @)
session.register( new HtmlFileReceiver(res, @options) )
+ session.request = req
return true
View
1  src/trans-jsonp.coffee
@@ -28,6 +28,7 @@ exports.app =
session = transport.Session.bySessionIdOrNew(req.session, @)
session.register( new JsonpReceiver(res, @options, callback) )
+ session.request = req
return true
jsonp_send: (req, res, query) ->
View
1  src/trans-websocket-hixie76.coffee
@@ -102,6 +102,7 @@ class WebHandshakeHixie76
# websockets possess no session_id
session = transport.Session.bySessionIdOrNew(undefined, @server)
session.register( new WebSocketReceiver(@connection) )
+ session.request = @req
class WebSocketReceiver extends transport.ConnectionReceiver
View
3  src/trans-websocket-hybi10.coffee
@@ -32,6 +32,7 @@ class WebHandshake8
# websockets possess no session_id
session = transport.Session.bySessionIdOrNew(undefined, @server)
session.register( new WebSocket8Receiver(@connection) )
+ session.request = @req
class WebSocket8Receiver extends transport.ConnectionReceiver
@@ -158,4 +159,4 @@ class WebSocket8Receiver extends transport.ConnectionReceiver
super(a.slice(0, l), 'binary')
-exports.WebHandshake8 = WebHandshake8
+exports.WebHandshake8 = WebHandshake8
View
2  src/trans-xhr.coffee
@@ -65,6 +65,7 @@ exports.app =
session = transport.Session.bySessionIdOrNew(req.session, @)
session.register( new XhrPollingReceiver(res, @options) )
+ session.request = req
return true
xhr_streaming: (req, res, _, next_filter) ->
@@ -77,4 +78,5 @@ exports.app =
session = transport.Session.bySessionIdOrNew(req.session, @)
session.register( new XhrStreamingReceiver(res, @options) )
+ session.request = req
return true

No commit comments for this range

Something went wrong with that request. Please try again.