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

Don't call connect until connect handler is set up #1626

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

titanous
Copy link

If a stream is specified, the connect event will be emitted immediately, and it will be dropped unless the event handlers are set up.

If a stream is specified, the connect event will be emitted immediately.
@titanous
Copy link
Author

Looks like the tests have some subtle dependency on the order of operations here. Perhaps someone more familiar with the codebase can fix that and pull in my patch?

@charmander
Copy link
Collaborator

Tests might pass after #1503.

@charmander
Copy link
Collaborator

They didn’t. Time to find out what else is in client.connection.stream.packets, then; it doesn’t look like md5-password-tests covers the full connection startup.

@charmander charmander added the bug label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants