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

TCP connect and send delay fix #6213

Merged
merged 6 commits into from
Jul 5, 2019
Merged

TCP connect and send delay fix #6213

merged 6 commits into from
Jul 5, 2019

Conversation

emelianov
Copy link
Contributor

Implement early exit as connection established or data already sent.
(In my tests previous implementation was exiting only on timeout expired)

Implement early exit as connection established or data already sent.
(Previous implementation was exiting only on timeout expired)
@d-a-v
Copy link
Collaborator

d-a-v commented Jun 24, 2019

reference for reviewers: d-a-v/W5500lwIP#6 (comment)

@d-a-v d-a-v merged commit 4bfa2ae into esp8266:master Jul 5, 2019
@emelianov emelianov mentioned this pull request Jul 8, 2019
@ascillato
Copy link
Contributor

Hi,

@emelianov @d-a-v @devyte @earlephilhower

This PR makes the pubsubclient library to hung (device unresponsive) for 5 seconds if the MQTT broker is down and it is trying to reconnect.

Reverting just this commit makes the STAGE core to be fast again as core 2.5.2 while using MQTT.

I have just made the PR #6440 in order to fix this hung issue. Thanks.

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.

4 participants