Comments (3)
Please try the branch called issue21: https://github.com/jeffallen/mqtt/tree/issue21
If that solves your problem, tell me and I will check it in.
from mqtt.
I'm a new golang beginner,and learning the mqtt protocol.
"Disconnect existing connections" is ok.
I think it's better the line 561# "c.replace()" is moved to the back of the line 560# "existing.del()".
Both "replace()" and "add()" have "clients[c.clientid] = c".
from mqtt.
I agree it was adding twice. Take a look at this and see if you agree with it:
https://github.com/jeffallen/mqtt/pull/22/files
from mqtt.
Related Issues (16)
- Are you planning to maintain this? HOT 3
- Resources occupied after client connections aborted HOT 3
- question about NAT HOT 1
- mqtt.go, have a bug HOT 2
- Error: Invalid subscriptions - invalid qos HOT 1
- range over incoming eventually quits HOT 4
- not support mqtt3.1.1? HOT 1
- error "failed to submit message" under heavy load HOT 1
- Authentication of Clients by the Server ? HOT 1
- not able to build the project HOT 1
- Race detect!!! HOT 2
- server: Connection Refused: identifier rejected HOT 1
- loadtest causes mqttsrv to try to use closed network connections HOT 4
- mqttsrv can't handle loadtest HOT 1
- Invalid subscription packet being sent HOT 9
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 mqtt.