projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1296bc7
)
Revert "HttpsMethod::Fetch(): Zero the FetchResult object when leaving due to 404"
author
Michael Vogt
<mvo@debian.org>
Mon, 13 Apr 2015 16:57:22 +0000
(12:57 -0400)
committer
Michael Vogt
<mvo@debian.org>
Mon, 13 Apr 2015 16:57:22 +0000
(12:57 -0400)
This reverts commit
1296bc7c466181a7978c313c40a041b34ce3eaeb
.
methods/https.cc
patch
|
blob
|
blame
|
history
diff --git
a/methods/https.cc
b/methods/https.cc
index f2b00dd64f213c11c45bdc9a197536a8c0fb8336..3a5981b5824511a4cc9d9d74eb2f2bc3fbf475cd 100644
(file)
--- 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;
}