Skip to content

Commit 4ce8a5e

Browse files
author
Owen Barnes
committed
0.3.4
1 parent 8706695 commit 4ce8a5e

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

HISTORY.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
0.3.4 / 2013-03-13
2+
==================
3+
4+
* Fixed bug preventing Request Responders (e.g. ss-angular) from working
5+
* Push `req.clientIp` from Engine.io to RPC requests as before
6+
* Confirmed working in Node 0.10.0. Be sure to report any bugs if found
7+
8+
9+
110
0.3.3 / 2013-02-21
211
==================
312

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# SocketStream
44

5-
_Latest release: 0.3.3 ([view changelog](https://github.com/socketstream/socketstream/blob/master/HISTORY.md))_
5+
_Latest release: 0.3.4 ([view changelog](https://github.com/socketstream/socketstream/blob/master/HISTORY.md))_
66

77
A fast, modular Node.js web framework dedicated to building single-page realtime apps
88

@@ -100,7 +100,7 @@ All this means no more connection latency, HTTP header overhead, polling, or clu
100100

101101
### Getting Started
102102

103-
Ready to give it a whirl? Install [Node 0.8.X](http://nodejs.org/#download) then get SocketStream from npm:
103+
Ready to give it a whirl? Install [Node 0.10.X](http://nodejs.org/#download) then get SocketStream from npm:
104104

105105
[sudo] npm install -g socketstream
106106

@@ -319,7 +319,6 @@ Back end scaling has yet to be properly documented, but we're keen to continue l
319319

320320
### Upcoming Speaking Events
321321

322-
* [BathCamp, Bath, 6th Febrary 2013](http://bathcamp.org/events/an-introduction-to-node-js)
323322
* [Realtime Meetup, London, 13th March 2013](http://www.meetup.com/XMPP-UK-Meetup/events/92855262)
324323
* [RealtimeConf EU, Lyon, 22nd-23rd April 2013](http://realtimeconf.eu)
325324

lib/websocket/transports/engineio/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ module.exports = function(ss, messageEmitter, httpServer, config){
9595
// Handle incoming connections
9696
ws.on('connection', function(socket) {
9797

98+
// Store this here before it gets cleaned up after the websocket upgrade
99+
socket.remoteAddress = socket.request.connection.remoteAddress;
100+
98101
// Allow this connection to be addressed by the socket ID
99102
openSocketsById[socket.id] = socket;
100103

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socketstream",
33
"description": "A fast, modular Node.js framework dedicated to building realtime single-page apps",
4-
"version": "0.3.3",
4+
"version": "0.3.4",
55
"homepage": "http://www.socketstream.org",
66
"author": "Owen Barnes <[email protected]>",
77
"repository": {

src/websocket/transports/engineio/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ module.exports = function(ss, messageEmitter, httpServer, config){
9595
// Handle incoming connections
9696
ws.on('connection', function(socket) {
9797

98+
// Store this here before it gets cleaned up after the websocket upgrade
99+
socket.remoteAddress = socket.request.connection.remoteAddress;
100+
98101
// Allow this connection to be addressed by the socket ID
99102
openSocketsById[socket.id] = socket;
100103

0 commit comments

Comments
 (0)