Skip to content

fix(engineio): heartbeat delay - #437

Merged
Totodore merged 3 commits into
mainfrom
fix-ci-e2e
Jan 15, 2025
Merged

fix(engineio): heartbeat delay#437
Totodore merged 3 commits into
mainfrom
fix-ci-e2e

Conversation

@Totodore

@TotodoreTotodore commented Jan 15, 2025

Copy link
Copy Markdown
Owner

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.
@TotodoreTotodore changed the title Fix: heartbeat delayfix(engineio): heartbeat delayJan 15, 2025
@TotodoreTotodore 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 mainJan 15, 2025
@Totodore
Totodore deleted the fix-ci-e2e branch January 17, 2025 16:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-engineioxideArea related to engineioxideC-EnhancementRelated to an enhancementT-testingTopic: testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Totodore