Skip to content

Initial failure of connect can result in 30 second hang #1155

@anthonyvercolano

Description

@anthonyvercolano

If one gives a bad host address to connect with it will fail with an ENOTFOUND.

However, the connackTimer will have already been started.

Since the host was never opened we don't go through the close which along with the handleconnact to clear the timeout.

Suggest adding a clearTimout to the finish

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions