version 1.70, 1997/06/25 16:24:59
|
version 1.71, 1997/06/28 13:48:52
|
Line 273 AHTReqContext *me;
|
Line 273 AHTReqContext *me;
|
{ |
{ |
AHTDocId_Status *docid_status; |
AHTDocId_Status *docid_status; |
|
|
|
|
|
return; |
|
|
if (me) |
if (me) |
{ |
{ |
|
|
Line 764 int status;
|
Line 767 int status;
|
} |
} |
} |
} |
} |
} |
return HT_OK; |
|
|
/* erase the context if we're dealing with an asynchronous request */ |
|
if ((me->mode & AMAYA_ASYNC) || (me->mode & AMAYA_IASYNC)) { |
|
me->reqStatus = HT_END; |
|
/** AHTReqContext_delete (me); **/ |
|
} |
|
|
|
return HT_OK; |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
Line 1158 void QueryInit ()
|
Line 1168 void QueryInit ()
|
/* New AHTBridge stuff */ |
/* New AHTBridge stuff */ |
|
|
|
|
# ifndef _WINDOWS |
|
HTEvent_setUnregisterCallback (AHTEvent_unregister); |
HTEvent_setUnregisterCallback (AHTEvent_unregister); |
# endif /* !_WINDOWS */ |
|
|
|
# ifdef _WINDOWS |
# ifdef _WINDOWS |
HTEventInit (); |
HTEventInit (); |
Line 1517 boolean error_html;
|
Line 1525 boolean error_html;
|
} else |
} else |
status = HTLoadAnchor ((HTAnchor *) me->anchor, me->request); |
status = HTLoadAnchor ((HTAnchor *) me->anchor, me->request); |
|
|
if (status == HT_ERROR || me->reqStatus == HT_END || me->reqStatus == HT_ERR) { |
if (status == HT_ERROR) { |
|
|
/* in case of error, free all allocated memory and exit */ |
/* in case of error, free all allocated memory and exit */ |
if (me->output) |
if (me->output) |
fclose (me->output); |
fclose (me->output); |
Line 1853 int docid;
|
Line 1862 int docid;
|
RequestKillAllXtevents (me); |
RequestKillAllXtevents (me); |
# endif /* !_WINDOWS */ |
# endif /* !_WINDOWS */ |
me->reqStatus = HT_ABORT; |
me->reqStatus = HT_ABORT; |
HTRequest_kill (me->request); |
# ifndef _WINDOWS |
|
HTRequest_kill (me->request); |
if (me->mode == AMAYA_ASYNC || |
|
me->mode == AMAYA_IASYNC) |
if ((me->mode & AMAYA_ASYNC) || |
|
(me->mode & AMAYA_IASYNC)) |
{ |
{ |
|
|
AHTReqContext_delete (me); |
AHTReqContext_delete (me); |
} |
} |
cur = Amaya->reqlist; |
# else |
|
AHTReqContext_delete (me); |
|
# endif /* !WINDOWS */ |
|
|
|
cur = Amaya->reqlist; |
|
|
open_requests--; |
open_requests--; |
|
|