-
Notifications
You must be signed in to change notification settings - Fork 998
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
feat(webrtc): implement fin ack #5687
Open
tesol2y090
wants to merge
16
commits into
libp2p:master
Choose a base branch
from
tesol2y090:feat/webrtc-fin-ack
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6c4b2e9
feat: add FIN_ACK in proto message
6f362b6
feat: compile proto message
tesol2y090 da5d9cd
Merge branch 'libp2p:master' into feat/webrtc-fin-ack
tesol2y090 b9ef3cc
feat: add fin ack timeout
tesol2y090 684bf7e
feat: handle FIN_ACK in state
tesol2y090 98ae3d7
feat: send FIN_ACK when close read
tesol2y090 5d32cbc
feat: send FIN_ACK when close write
tesol2y090 0d66291
feat: add test cases
tesol2y090 172b21b
Merge branch 'libp2p:master' into feat/webrtc-fin-ack
tesol2y090 405b088
chore: fix clippy
tesol2y090 edb8eca
chore: add change log
tesol2y090 c4670a1
Merge branch 'master' into feat/webrtc-fin-ack
tesol2y090 c134c5f
Merge branch 'master' into feat/webrtc-fin-ack
tesol2y090 2af5354
Merge branch 'libp2p:master' into feat/webrtc-fin-ack
tesol2y090 fc5d4ed
feat: add early return
tesol2y090 b7b35ab
chore: revert changes
tesol2y090 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this number part of specs or was discussed somewhere?
This is time that we'll have to wait each time when closing a stream if the remote doesn't support
FIN_ACK
right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's right. I follow the go-libp2p implementation. https://github.com/libp2p/go-libp2p/blob/master/p2p/transport/webrtc/stream.go#L45