Repository navigation
Sync upstream RTSP fix and refresh Go dependencies - #5
Merged
Merged
Conversation
A write that times out can leave part of an interleaved RTP message on the wire. The next frame or response was then appended after it, the peer read those bytes as the missing tail of the first message, and its $-framing broke for the rest of the session. Serialize all writes on the connection and close it on a failed or short write, so nothing follows an incomplete message. The read loop sees the close and removes the consumer as usual. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rite Close RTSP connection after a partial TCP write
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
timeimport after the upstream merge.golang.org/x/*, and the fixed Gorilla WebSocket revisionv1.5.4-0.20240701034025-d67f41855da4(GO-2026-6278).go 1.26.1as the module minimum while selecting patched Go 1.27.4 for builds and CI. The Docker build usesGOTOOLCHAIN=autoand will select the toolchain directive.Verification
go test -race -count=1 ./pkg/rtsp ./pkg/tcppassed.python3 scripts/compare-test-baseline.pypassed: 28 existing failures before and after, no new or changed failures.go mod verifyand a Go 1.27.4 binary build passed. Starting from Go 1.26.1 with auto selection produced a Go 1.27.4 binary.govulncheck ./...and binary scan reported no vulnerabilities with Go 1.27.4.Seven versions still appear in the module graph: two are used only by dependency test suites, and five are not needed by this module (
go mod why). Unused requirements were not added just to advance them.