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

fix(engineio): heartbeat delay #437

Merged
merged 3 commits into from
Jan 15, 2025
Merged

fix(engineio): heartbeat delay #437

merged 3 commits into from
Jan 15, 2025

Conversation

Totodore
Copy link
Owner

@Totodore Totodore commented Jan 15, 2025

A delay was arbitrarily before starting the engine.io heartbeat when the socket is connecting.
The goal was mostly to comply with the socket.io test suite which was
not checking the ping packet before doing other operations.

With the js implementation it is OK because it is slow.
But it was causing issue with this one.

In case of http polling heartbeat timeout, engine.io might send a close packet to an existing polling connection before closing.
Fix the test for this case.
A delay was arbitrarily before starting the engine.io delay.
The goal was mostly to comply with the socket.io test suite which was
not checking the ping packet before doing other operations.

With the js implementation it is OK because it is slow.
But it was causing issue with this one.

Fix many tests to work with this issue.
@Totodore Totodore changed the title Fix: heartbeat delay fix(engineio): heartbeat delay Jan 15, 2025
@Totodore Totodore added A-engineioxide Area related to engineioxide C-Enhancement Related to an enhancement T-testing Topic: testing labels Jan 15, 2025
@Totodore Totodore merged commit e47353d into main Jan 15, 2025
30 checks passed
@Totodore Totodore deleted the fix-ci-e2e branch January 17, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-engineioxide Area related to engineioxide C-Enhancement Related to an enhancement T-testing Topic: testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant