diff options
author | aron <homotopycolimit@users.noreply.github.com> | 2016-10-08 18:33:52 +0800 |
---|---|---|
committer | aron <homotopycolimit@users.noreply.github.com> | 2016-10-11 05:34:44 +0800 |
commit | a45421baaf2065203fa133a932967d5ea18fd0f7 (patch) | |
tree | 5268c7a5c76d91906d0fd713a7b16c8f734ac673 /node/errors.go | |
parent | be6a3696a9642c9511c565f4c35d1c8aae6434ad (diff) | |
download | go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.gz go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.bz2 go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.lz go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.xz go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.zst go-tangerine-a45421baaf2065203fa133a932967d5ea18fd0f7.zip |
swarm/storage: fix chunker when reader is broken
* brokenLimitedReader gives error after half size
* TestRandomBrokenData tests chunker with broken reader
* add blocking quitC (instead of errC) and use errC only for errors
* don't close chunkC in tester Split,
* use quitC to quit chunk storage loop
Diffstat (limited to 'node/errors.go')
0 files changed, 0 insertions, 0 deletions