/*
- * $Id: ftp.cc,v 1.79 1996/11/12 22:37:04 wessels Exp $
+ * $Id: ftp.cc,v 1.80 1996/11/14 18:16:32 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
StoreEntry *entry = NULL;
entry = data->entry;
debug(9, 4, "ftpLifeTimeExpire: FD %d: '%s'\n", fd, entry->url);
- squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
+ if (entry->store_status == STORE_PENDING)
+ squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
comm_close(fd);
}
/*
- * $Id: gopher.cc,v 1.63 1996/11/06 23:14:36 wessels Exp $
+ * $Id: gopher.cc,v 1.64 1996/11/14 18:16:32 wessels Exp $
*
* DEBUG: section 10 Gopher
* AUTHOR: Harvest Derived
StoreEntry *entry = NULL;
entry = data->entry;
debug(10, 4, "gopherLifeTimeExpire: FD %d: '%s'\n", fd, entry->url);
- squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
+ if (entry->store_status == STORE_PENDING)
+ squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
commSetSelect(fd,
COMM_SELECT_READ | COMM_SELECT_WRITE,
NULL,
/*
- * $Id: http.cc,v 1.103 1996/11/14 03:00:53 wessels Exp $
+ * $Id: http.cc,v 1.104 1996/11/14 18:16:33 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
HttpStateData *httpState = data;
StoreEntry *entry = httpState->entry;
debug(11, 4, "httpLifeTimeExpire: FD %d: '%s'\n", fd, entry->url);
- squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
+ if (entry->store_status == STORE_PENDING)
+ squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
commSetSelect(fd, COMM_SELECT_READ | COMM_SELECT_WRITE, NULL, NULL, 0);
comm_close(fd);
}
/*
- * $Id: wais.cc,v 1.53 1996/11/06 23:15:07 wessels Exp $
+ * $Id: wais.cc,v 1.54 1996/11/14 18:16:34 wessels Exp $
*
* DEBUG: section 24 WAIS Relay
* AUTHOR: Harvest Derived
entry = waisState->entry;
debug(24, 4, "waisLifeTimeExpire: FD %d: '%s'\n", fd, entry->url);
- squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
+ if (entry->store_status == STORE_PENDING)
+ squid_error_entry(entry, ERR_LIFETIME_EXP, NULL);
commSetSelect(fd, COMM_SELECT_READ | COMM_SELECT_WRITE, NULL, NULL, 0);
comm_close(fd);
}