[R2] Support to limit the download size