History log of /haiku/src/kits/package/DownloadFileRequest.cpp
Revision Date Author Comments
# 2be10edf 23-Nov-2021 Augustin Cavalier <waddlesplash@gmail.com>

Package Kit: Improvements to partial download handling.

* Move IsDownloadComplete call into DownloadFileRequest; this way
we will always revalidate checksums even if the file is fully
downloaded instead of skipping that.

* Treat ERANGE as a "bad data" error in PackageManager (it usually means
we have a size mismatch between the local and the server's file)

* If we fail checksum validation or get ERANGE, and we reused a download,
immediately try again without reusing the download. This fixes most
problems that previously required you to delete old transaction
directories.

Change-Id: Ia3079655691b871e0b206e366b59fca0f832c63d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4730
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 106ae4ec 17-Aug-2018 CodeforEvolution <themysterymail555@gmail.com>

Remove Curl, Switch to NetApi in Package Kit

Change-Id: I92213ab60dc987175c323d1d9ed11ac8b3517f2f
Reviewed-on: https://review.haiku-os.org/475
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 69a53ac5 20-Apr-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add DownloadFileRequest

Downloads a file and optionally checks its checksum.


# 69a53ac5b488d6562ebf75b98f143000ba70d623 20-Apr-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Add DownloadFileRequest

Downloads a file and optionally checks its checksum.