summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2015-04-13 12:57:22 -0400
committerMichael Vogt <mvo@debian.org>2015-04-13 12:57:22 -0400
commit3a53f6a1510d332e24c3330a69b987f2341d1a94 (patch)
tree442fe082d0365b522cf1a548000e89676e896bc6
parent1296bc7c466181a7978c313c40a041b34ce3eaeb (diff)
Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404"
This reverts commit 1296bc7c466181a7978c313c40a041b34ce3eaeb.
-rw-r--r--methods/https.cc2
1 files changed, 0 insertions, 2 deletions
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;
}