/*
- * $Id: redirect.cc,v 1.8 1996/08/14 21:38:29 wessels Exp $
+ * $Id: redirect.cc,v 1.9 1996/08/17 05:09:00 wessels Exp $
*
* DEBUG: section 29 Redirector
* AUTHOR: Duane Wessels
void redirectShutdownServers()
{
redirector_t *redirect = NULL;
+ redirectStateData *r = NULL;
int k;
if (Config.Program.redirect == NULL)
return;
+ if (redirectQueueHead) {
+ while ((redirect = GetFirstAvailable()) && (r = Dequeue()))
+ redirectDispatch(redirect, r);
+ return;
+ }
for (k = 0; k < NRedirectors; k++) {
redirect = *(redirect_child_table + k);
if (!(redirect->flags & REDIRECT_FLAG_ALIVE))