Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firstConnection.close is not a function #5

Open
jledun opened this issue Mar 12, 2018 · 0 comments
Open

firstConnection.close is not a function #5

jledun opened this issue Mar 12, 2018 · 0 comments

Comments

@jledun
Copy link

jledun commented Mar 12, 2018

Hey,

Trying to manage connection time out, I've set connectionTimeout to 15000 in my config file.

But, in my case, firstConnection is a net.Socket => the close() function does not exist.

Everything goes fine when I use destroy() instead of close().

Do you want me to fork then create a pull request ? or you'll update that by yourself ?

Regards

jledun added a commit to jledun/strong-pubsub-mqtt that referenced this issue Mar 13, 2018
Signed-off-by: Julien Ledun <j.ledun@iosystems.fr>
jledun added a commit to jledun/strong-pubsub-mqtt that referenced this issue Mar 13, 2018
Signed-off-by: Julien Ledun <j.ledun@iosystems.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant