Skip to content

handler: Fix data race in bodyReader when stopping upload #1959

handler: Fix data race in bodyReader when stopping upload

handler: Fix data race in bodyReader when stopping upload #1959

Triggered via push October 4, 2024 10:28
Status Failure
Total duration 4m 28s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test (stable, macos-latest)
Process completed with exit code 1.
test (oldstable, macos-latest)
Process completed with exit code 1.
test (stable, ubuntu-latest)
Process completed with exit code 1.
test (oldstable, ubuntu-latest)
Process completed with exit code 1.
test (oldstable, windows-latest)
Process completed with exit code 1.
test (stable, windows-latest): pkg/handler/body_reader.go#L119
hasError passes lock by value: github.com/tus/tusd/v2/pkg/handler.bodyReader contains sync.RWMutex