braid-http 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -234,7 +234,8 @@ function braidify (req, res, next) {
234
234
  res.isSubscription = true
235
235
 
236
236
  // Let's disable the timeouts (if it exists)
237
- req.socket.server && req.socket.server.timeout = 0.0
237
+ if (req.socket.server)
238
+ req.socket.server.timeout = 0.0
238
239
 
239
240
  // We have a subscription!
240
241
  res.statusCode = 209
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-http",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "An implementation of Braid-HTTP for Node.js and Browsers",
5
5
  "scripts": {
6
6
  "test": "node test/server.js"