Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modifications to solve Issue #922 #940

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

Open
Gord1 wants to merge 5 commits into Links2004:master
base: master
Choose a base branch
Loading
from Gord1:master
Open

Conversation

Copy link

@Gord1 Gord1 commented Mar 31, 2025

The changes solve the problems in:
#922 (comment)

Solves problems in HeartBeat.

Also readCb arguments change because the original had argument mismatch.

Changes to these files to fix the Heart Beat not working when client's wifi drops or it goes to to sleep causing the server to slow to a crawl. Heart Beat now works and client disconnects occur quickly with little disruption to other clients. Tested on ESP8266 with two WS servers and 5 clients. Clients can now reconnect after wifi drop. More debug statements added to trace the program flow.

HFKKristof reacted with thumbs up emoji
Gord1 added 5 commits March 30, 2025 19:50
Changes to these files to fix the Heart Beat not working when client's wifi drops or it goes to to sleep causing the server to slow to a crawl. Heart Beat now works and client disconnects occur quickly with little disruption to other clients. Tested on ESP8266 with two WS servers and 5 clients. Clients can now reconnect after wifi drop. More debug statements added to trace the program flow.
Deleted - in wrong place
Modification to force new ping following timeout in WebSockets::handleHBTimeout
reverted to - 500 to force ping in HeartBeat time out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /