nicoburghi

Results comments of nicoburghi

Hi, i'm getting some information from the socketIO object like this: ``` var socketIO = io.listen(server); var general = { sockets: socketIO.rooms[''] ? socketIO.rooms[''].length : 0, connected: Object.keys(socketIO.connected).length, open: Object.keys(socketIO.open).length,...

Hi i'm having similar issue with RedisStore, may be we can help each other. Check out this links: https://github.com/LearnBoost/socket.io/issues/831 https://github.com/SpiderStrategies/socket.io/commit/caa96a5cc207aaff23db94a03a2412f5a8c8a4f6 https://github.com/observing/socket.io/commit/6d458d86697ddd8b10f68905fec02ca9feb3541c

Can you tell where did you add the piece of code? did you fix something with it or was just for checking? Thanks

great, that links help me to fix part of the issue, I still have some references to Socket objects that must be deleted. On monday i will work hard with...

That's bad, can you find out the number of opened sockets when the leaks happen? I'm now trying to do some test cases in order to find a fix. I'll...

@nguyenvansutt I fix it by asking for undefined befone using the 'in' operator with handshake collection. I'm using socket.io 0.9.16, maybe this issue is fixed in newer versions (maybe versions...

When a user leave the page the reasen will be 'close timeout'. That's how I'm m,anaging that case. I hope this help you. +1 for reason documentation in the wiki

Sorry, when a user leave a page the reason will be 'close timeout' after some minutes (2 minutes by default). You can set this time in the socket.io configuration

As I understand is because the connection ends up timing out. There is no even fired in the beforeunload handler. I 've tried to fire a custom even in the...

I see, I didn't know about that parameter. Thanks. You're right, it should be a rason for that specific case.