mirror of
https://github.com/moby/moby.git
synced 2026-07-08 07:37:55 +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>