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 /swarm/storage/database.go | |
parent | be6a3696a9642c9511c565f4c35d1c8aae6434ad (diff) | |
download | dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.gz dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.bz2 dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.lz dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.xz dexon-a45421baaf2065203fa133a932967d5ea18fd0f7.tar.zst dexon-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 'swarm/storage/database.go')
0 files changed, 0 insertions, 0 deletions