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

Update documentation/comments for connect() ref blocking #615

Merged
merged 1 commit into from Dec 22, 2023

Conversation

MattBrittan
Copy link
Contributor

@MattBrittan MattBrittan commented Oct 29, 2021

Update documentation/comments to clarify when the connect() function returns. The function returns after transmitting the CONNECT packet but before the CONNACK is received/processed (this is done in the network loop). There are a number of issues (both on github and stack overflow) caused by an expectation that the connection is fully established when connect() returns.

As per discussion in issue #521

@egnor
Copy link

egnor commented Sep 30, 2022

Sure would be neat if this got merged!

@PierreF PierreF merged commit 8269a72 into eclipse:master Dec 22, 2023
@PierreF
Copy link
Contributor

PierreF commented Dec 22, 2023

Thank for you contribution and your patience. This PR is now merged.

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

Successfully merging this pull request may close these issues.

None yet

3 participants