docker/hack
Stephen J Day 0306a41909 Correctly close pipe after error in tarsum verification
This addresses a subtle deadlock where an error during a copy prevented pipe
closure to propagate correctly. By closing down the read end of the pipe rather
than the write end, the waiting writer is properly signaled. A nice side-effect
of this change is that errors encountered by io.Copy are now propagated to the
verifier's Write method.

A test to ensure validation errors for unsupported digest types has been added,
as well.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-18 19:07:55 -07:00
..
make Build docker with gccgo, requires host to contain gccgo 5.0 2015-03-16 22:38:26 +00:00
dind Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
generate-authors.sh Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
install.sh Add 'extras' virtual package to fix kernel upgrade fallback from aufs to devicemapper 2015-03-16 07:46:18 -04:00
make.sh Move scripts back to hack/, leave docs in project/ 2015-03-13 14:04:08 -06:00
release.sh Publish Windows binaries in release script 2015-03-16 15:49:38 -07:00
vendor.sh Correctly close pipe after error in tarsum verification 2015-03-18 19:07:55 -07:00