Skip to content

Tags: aler9/gosrt

Tags

mediamtx-4

Toggle mediamtx-4's commit message
fix broken connections in case of high latency

When listening and accepting an incoming connection request, the
response might be received by the peer with some delay due to latency.
This causes the peer to send a second connection request, that is not
detected as duplicate because the first connection request has already
been removed from the map that is used to check for duplicates
(connReqs), so it is treated as a brand new connection request,
breaking the first connection.

This patch fixes the issue by replacing the map that is used to check
for duplicates (connReqs) with a map that keeps track of both
connection requests and accepted connections by their peer ID
(connByPeers), allowing to discard handshakes with an existing peer ID.

v0.9.0

Toggle v0.9.0's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Add test for PR94

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request datarhei#82 from datarhei/dependabot/go_modules/gi…

…thub.com/stretchr/testify-1.10.0

Bump github.com/stretchr/testify from 1.9.0 to 1.10.0

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Update example listener to use Accept2()

mediamtx-3

Toggle mediamtx-3's commit message
block repeated handshake requests

v0.6.0

Toggle v0.6.0's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Add comments

v0.5.7

Toggle v0.5.7's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Bump the go version to 1.20

v0.5.6

Toggle v0.5.6's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Merge branch 'muxinc-bp/parallel-listens'

v0.5.5

Toggle v0.5.5's commit message

Verified

This commit was signed with the committer’s verified signature.
ioppermann Ingo Oppermann
Fix race condition when disposing late packets (datarhei#36)

v0.5.4

Toggle v0.5.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request datarhei#27 from datarhei/dependabot/go_modules/go…

…lang.org/x/crypto-0.12.0

Bump golang.org/x/crypto from 0.11.0 to 0.12.0