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

test(@lib2p/transport-webrtc): add webRTC transport compliance tests #2053

Closed
wants to merge 27 commits into from

Conversation

maschad
Copy link
Member

@maschad maschad commented Sep 15, 2023

Closes #1836

Depends on #2041

maschad and others added 27 commits September 11, 2023 17:30
Chrome does not always send all messages after closing a datachannel
even if `bufferedAmount` is `0` before closing.

This PR adds a `FIN_ACK` message that is sent in reply to a `FIN`
message - because all messages are send in-order, when this is
received we know the remote has recieved all of our data messages
and it's safe to close the channel.
@maschad
Copy link
Member Author

maschad commented Oct 4, 2023

Currently blocked by #2073

@maschad maschad closed this May 2, 2024
@maschad maschad removed their assignment May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

libp2p(@webrtc): Add transport compliance tests
2 participants