Parcourir la source

Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404"

This reverts commit 1296bc7c466181a7978c313c40a041b34ce3eaeb.
Michael Vogt il y a 11 ans
Parent
commit
3a53f6a151
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      methods/https.cc

+ 0 - 2
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;
    }