diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:35 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:35 +0000 |
commit | 43252d15d3352fc3e7f94ee1de29a9a304ad78ed (patch) | |
tree | 27379eda170188a20960d7c581c58c556bd60e7d /methods | |
parent | 7d8afa391c5cd04e797a2b41fe3b946631254995 (diff) |
Retry http fixes
Author: jgg
Date: 1999-01-30 08:23:49 GMT
Retry http fixes
Diffstat (limited to 'methods')
-rw-r--r-- | methods/http.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/methods/http.cc b/methods/http.cc index ceb2cea14..9cb6d1b21 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: http.cc,v 1.23 1999/01/28 06:32:31 jgg Exp $ +// $Id: http.cc,v 1.24 1999/01/30 08:23:49 jgg Exp $ /* ###################################################################### HTTP Aquire Method - This is the HTTP aquire method for APT. @@ -988,7 +988,7 @@ int HttpMethod::Loop() { if (FailCounter >= 2) { - Fail("Massive Server Brain Damage"); + Fail("Massive Server Brain Damage",true); FailCounter = 0; } @@ -1020,7 +1020,7 @@ int HttpMethod::Loop() // Connnect to the host if (Server->Open() == false) { - Fail(); + Fail(true); delete Server; Server = 0; continue; @@ -1039,7 +1039,7 @@ int HttpMethod::Loop() case 2: { _error->Error("Bad header Data"); - Fail(); + Fail(true); continue; } |