The JSON stream library has no safe way of aborting while Since we cannot expect the called to safely handle "Read" and "Close" calls we must handle this. Also any Read error returned from upstream will crash the server. We preserve the errors and instead always return io.EOF upstream, but send the error on Close. `readahead v1.3.1` handles Read after Close better. Updates to `progressReader` is mostly to ensure safety. Fixes #8481 |
||
---|---|---|
.. | ||
testdata | ||
args.go | ||
errors.go | ||
reader.go | ||
reader_test.go | ||
record.go |