// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.cc,v 1.21 1999/01/04 00:57:56 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.
return 5;
FailFile = Queue->DestFile;
+ FailFile.c_str(); // Make sure we don't do a malloc in the signal handler
FailFd = File->Fd();
FailTime = Srv->Date;
{
if (FailCounter >= 2)
{
- Fail("Massive Server Brain Damage");
+ Fail("Massive Server Brain Damage",true);
FailCounter = 0;
}
// Connnect to the host
if (Server->Open() == false)
{
- Fail();
+ Fail(true);
+ delete Server;
+ Server = 0;
continue;
}
case 2:
{
_error->Error("Bad header Data");
- Fail();
+ Fail(true);
continue;
}