mirror of
https://github.com/moby/moby.git
synced 2026-07-12 18:45:06 +00:00
The use of pools.Copy avoids io.Copy's internal buffer allocation. This commit replaces io.Copy with pools.Copy to avoid the allocation of buffers in io.Copy. Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>