From 4416b69402a5b61e5753d03dfe16f96397c9a41f Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Thu, 5 Jul 2018 16:36:13 +0300 Subject: [PATCH] Fixed storage tests --- platform/http_request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/http_request.cpp b/platform/http_request.cpp index 325518d067..6afd126227 100644 --- a/platform/http_request.cpp +++ b/platform/http_request.cpp @@ -260,7 +260,7 @@ class FileHttpRequest : public HttpRequest, public IHttpThreadCallback return; // 1. Save downloaded chunks if some error occured. - if (m_status == Status::Failed) + if (m_status == Status::Failed || m_status == Status::FileNotFound) SaveResumeChunks(); // 2. Free file handle.