feat(webconnectivity@v0.5): stream the response body (#959)
Reference issue: https://github.com/ooni/probe/issues/2295
This commit is contained in:
@@ -10,6 +10,9 @@ import (
|
||||
"io"
|
||||
)
|
||||
|
||||
// TODO(bassosimone): consider integrating StreamAllContext from
|
||||
// internal/experiment/webconnectivity/iox.go
|
||||
|
||||
// ReadAllContext is like io.ReadAll but reads r in a
|
||||
// background goroutine. This function will return
|
||||
// earlier if the context is cancelled. In which case
|
||||
|
||||
Reference in New Issue
Block a user