Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

emergency patch for #30

  • Loading branch information...
commit 23c3dd3240cbf5a59c02dfcd7310c9816c4be900 1 parent 7f5e7df
@majek majek authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.