optimized for big file download

Signed-off-by: cookpan001 <cookpan001@gmail.com>