Am 06.01.2006 um 16:56 schrieb Vlad Seryakov:

I uploaded driver.c into SFE, it needs more testing because after my last corrections and cleanups it seems i broke something.

I would clean/destroy the "uploadTable" AND "hosts" hashtable
in NsWaitDriversShutdown() if the drivers have been stopped
allright:

    } else {
        Ns_Log(Notice, "driver: shutdown complete");
        driverThread = NULL;
        ns_sockclose(drvPipe[0]);
        ns_sockclose(drvPipe[1]);
        /* CLEANUP THE hosts hashtable */
    }

    } else {
        Ns_Log(Notice, "spooler: shutdown complete");
        spoolThread = NULL;
        ns_sockclose(spoolPipe[0]);
        ns_sockclose(spoolPipe[1]);
        /* CLEANUP THE uploadTable hashtable */
    }



Reply via email to