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

debug interop failure #2588

Closed
wants to merge 3 commits into from
Closed

debug interop failure #2588

wants to merge 3 commits into from

Conversation

sukunrt
Copy link
Member

@sukunrt sukunrt commented Sep 28, 2023

Exact issue:
Chrome -> go-libp2p: PING
Chrome -> go-libp2p: CloseWrite(FIN)
go-libp2p reads PING
go-libp2p -> Chrome: PING
go-libp2p reads FIN
go-libp2p closes data channel

Now there is a race between onMessage event handler on chrome and onClose event handler on chrome. Depending on what’s fired first the test succeeds or fails.

@sukunrt sukunrt force-pushed the sukun/webrtc-debug-interop branch from 6bdaa7d to 3c0bc21 Compare September 28, 2023 11:53
@sukunrt sukunrt force-pushed the sukun/webrtc-debug-interop branch from a0bf064 to d9741d8 Compare September 28, 2023 16:52
@sukunrt sukunrt closed this Sep 29, 2023
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.

1 participant