Files
llama.cpp/common
Pascal 917b83f149 download: keep concurrent downloads of one blob apart
Every process writes the same path + .downloadInProgress, so a second
download of the same blob finds that file, takes it for its own partial
transfer and asks for the bytes after it, which produces a corrupt
result. The in-progress file now carries the pid of the process writing
it.

std::rename also replaces an existing destination on POSIX but fails on
Windows, so a download whose blob appeared in the meantime is dropped
after every retry and an etag rewrite silently keeps the old value.
std::filesystem::rename has the POSIX behaviour everywhere, and the
error now carries the reason reported by the system.
2026-09-11 22:38:01 +02:00
..
2026-08-22 16:28:28 +02:00
2026-08-23 01:11:10 +02:00
2026-09-06 08:21:22 +02:00
2026-09-06 08:21:22 +02:00