- cleanup broken downloads properly (just like http)
+apt (0.8.16~exp5ubuntu10) oneiric; urgency=low
+
+ * methods/https.cc:
+ - cleanup broken downloads properly (just like http)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 20 Sep 2011 18:26:13 +0200
+
apt (0.8.16~exp5ubuntu9) oneiric; urgency=low
[ Michael Vogt ]
apt (0.8.16~exp5ubuntu9) oneiric; urgency=low
[ Michael Vogt ]
long curl_servdate;
curl_easy_getinfo(curl, CURLINFO_FILETIME, &curl_servdate);
long curl_servdate;
curl_easy_getinfo(curl, CURLINFO_FILETIME, &curl_servdate);
// cleanup
if(success != 0)
{
_error->Error("%s", curl_errorstr);
// cleanup
if(success != 0)
{
_error->Error("%s", curl_errorstr);
+ // unlink, no need keep 401/404 page content in partial/
+ unlink(File->Name().c_str());
// Timestamp
struct utimbuf UBuf;
// Timestamp
struct utimbuf UBuf;