Files
elysium/tests
tomas.kracmar 5714570ad2 fix(storage): detect a download that closed before Content-Length and retry
HttpClient's GetAwaiter().GetResult() on ReadAsStreamAsync returns once headers arrive; a
connection that then closes early leaves CopyTo finishing normally with a short file instead of
throwing. Compare the written length against the advertised Content-Length and treat a mismatch
as a transient failure. FakeStorage.ps1 can now simulate this (keys containing '/short/').
2026-11-06 09:16:55 +01:00
..