version 1.149, 1998/09/24 14:27:08
|
version 1.150, 1998/09/25 08:10:36
|
Line 905 int status;
|
Line 905 int status;
|
|
|
ProcessTerminateRequest (request, response, context, status); |
ProcessTerminateRequest (request, response, context, status); |
|
|
return HT_OK; |
return HT_ERROR; |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
Line 2497 int docid;
|
Line 2497 int docid;
|
fprintf (stderr, "StopRequest: number of Amaya requests " |
fprintf (stderr, "StopRequest: number of Amaya requests " |
"before kill: %d\n", Amaya->open_requests); |
"before kill: %d\n", Amaya->open_requests); |
#endif /* DEBUG_LIBWWW */ |
#endif /* DEBUG_LIBWWW */ |
/* avoid being called twice while doing a stop */ |
/* enter the critical section */ |
lock_stop = TRUE; |
lock_stop = TRUE; |
/* is this necessary ? */ |
|
/* EventOrder_deleteAll (); */ |
|
HTNet_killAll (); |
HTNet_killAll (); |
/* Delete remaining channels */ |
|
HTChannel_deleteAll(); |
|
|
|
cur = Amaya->reqlist; |
cur = Amaya->reqlist; |
while ((me = (AHTReqContext *) HTList_nextObject (cur))) |
while ((me = (AHTReqContext *) HTList_nextObject (cur))) |
Line 2530 int docid;
|
Line 2526 int docid;
|
} |
} |
/* expire all outstanding timers */ |
/* expire all outstanding timers */ |
HTTimer_expireAll (); |
HTTimer_expireAll (); |
/* free the stop routine */ |
/* Delete remaining channels */ |
|
HTChannel_safeDeleteAll (); |
|
/* exit the critical section */ |
lock_stop = FALSE; |
lock_stop = FALSE; |
#ifdef DEBUG_LIBWWW |
#ifdef DEBUG_LIBWWW |
fprintf (stderr, "StopRequest: number of Amaya requests " |
fprintf (stderr, "StopRequest: number of Amaya requests " |