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

Start pion/transport@v3 #266

Merged
merged 6 commits into from
Sep 2, 2023
Merged

Start pion/transport@v3 #266

merged 6 commits into from
Sep 2, 2023

Conversation

Sean-Der
Copy link
Member

@Sean-Der Sean-Der commented Sep 2, 2023

To support replaydetector API changes

Relates to #264

Sean-Der and others added 6 commits September 2, 2023 13:56
Updates the replay detector interface and implementations to support
indicating whether the accepted packet resulted in an update of the
latest sequence number.

Note: this is not a breaking change as the accept() callback was
previously returning zero values and is now returning one, which can be
ignored if desired. It may cause linter failures in some consumers if
using a strict policy.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Updates replaydetector unit tests to check for latest sequence number
updates. Also removes some of the test fragmentation and corrects a few
tests that were previously returning erroneous results.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
Removes the named return values from replay detector implementations as
they are not currently being used and could lead to erroneous assignment
in the future.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
dpipe/dpipe.go ø
packetio/buffer.go ø
stdnet/net.go ø
test/bridge.go ø
test/stress.go ø
udp/conn.go ø
vnet/conn.go ø
vnet/net.go ø
vnet/router.go ø
replaydetector/replaydetector.go 100.00%

📢 Thoughts on this report? Let us know!.

@Sean-Der Sean-Der merged commit a66d5b7 into master Sep 2, 2023
@Sean-Der Sean-Der deleted the v3 branch September 2, 2023 18:01
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.

None yet

2 participants