Comments (4)
Yeah, I put a temporary hack in there to drop the dead ones on publish() but it needs to move to the disconnection flow.
from nes.
I've decided that it is better to keep an array of strings (socket ids) instead of having to manage the subscription lists when sockets disconnect. This way they will get cleaned at little cost on publish. I am considering adding a scheduled cleanup timer.
from nes.
Ok. Not it's fixed properly.
from nes.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
from nes.
Related Issues (20)
- Can not used in IE browser? HOT 2
- Action required: Greenkeeper could not be activated 🚨 HOT 1
- Update deps HOT 1
- Get auth result on connect HOT 2
- nes fails to verify credentials with hapi-auth-jwt2 customVerify function HOT 2
- Client is not working in browser. HOT 5
- Fails to load in IE11 due to ES6 syntax HOT 5
- Error: Connection requires authentication HOT 1
- Only node 12
- Require hapi 19
- Change plugin name to @hapi/nes
- WSS integration HOT 1
- request.info.remoteAddress is always 127.0.0.1 in request handler
- Cannot get pub/sub example to work HOT 7
- Access server.publish from another file HOT 1
- Non standard browser cookie in Nes authentication HOT 1
- Polling option fallback HOT 1
- Socket closing without prompt
- Error is thrown, if client.connect({auth: 'somestring'})
- Can't received publish messages from browser HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nes.