From: Michael Vogt Date: Mon, 13 Apr 2015 16:57:22 +0000 (-0400) Subject: Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404" X-Git-Tag: 1.0.9.10~8^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/3a53f6a1510d332e24c3330a69b987f2341d1a94 Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404" This reverts commit 1296bc7c466181a7978c313c40a041b34ce3eaeb. --- diff --git a/methods/https.cc b/methods/https.cc index f2b00dd64..3a5981b58 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -402,8 +402,6 @@ bool HttpsMethod::Fetch(FetchItem *Itm) _error->Error("%s", err); // unlink, no need keep 401/404 page content in partial/ unlink(File->Name().c_str()); - Res.Size = 0; - Res.LastModified = 0; return false; }