version 1.130, 1998/09/14 12:20:34
|
version 1.131, 1998/09/15 10:47:29
|
Line 427 AHTReqContext *me;
|
Line 427 AHTReqContext *me;
|
TtaFreeMemory ((void *) docid_status); |
TtaFreeMemory ((void *) docid_status); |
} |
} |
} |
} |
if (HTRequest_outputStream (me->request)) |
if (me->method != METHOD_PUT && HTRequest_outputStream (me->request)) |
AHTFWriter_FREE (me->request->output_stream); |
AHTFWriter_FREE (me->request->output_stream); |
HTRequest_delete (me->request); |
HTRequest_delete (me->request); |
|
|
Line 472 AHTReqContext *me;
|
Line 472 AHTReqContext *me;
|
|
|
if (me->content_type) |
if (me->content_type) |
TtaFreeMemory (me->content_type); |
TtaFreeMemory (me->content_type); |
/* @@@ need to do this better */ |
|
if (me->formdata) |
if (me->formdata) |
HTAssocList_delete (me->formdata); |
HTAssocList_delete (me->formdata); |
|
|
Line 554 HTRequest *request;
|
Line 554 HTRequest *request;
|
|
|
me = HTRequest_context (request); |
me = HTRequest_context (request); |
|
|
|
|
if (!me) |
if (!me) |
return HT_ERROR; |
return HT_ERROR; |
|
|
|
if (me->method == METHOD_PUT) |
|
return HT_OK; |
|
|
#ifdef DEBUG_LIBWWW |
#ifdef DEBUG_LIBWWW |
fprintf(stderr, "AHTOpen_file: start for object : %p\n", me); |
fprintf(stderr, "AHTOpen_file: start for object : %p\n", me); |
#endif /* DEBUG_LIBWWW */ |
#endif /* DEBUG_LIBWWW */ |
Line 594 HTRequest *request;
|
Line 596 HTRequest *request;
|
{ |
{ |
#endif /* !_WINDOWS */ |
#endif /* !_WINDOWS */ |
|
|
me->outputfile[0] = '\0'; /* file could not be opened */ |
me->outputfile[0] = EOS; /* file could not be opened */ |
#ifdef DEBUG_LIBWWW |
#ifdef DEBUG_LIBWWW |
fprintf(stderr, "AHTOpen_file: couldn't open output stream for url %s\n", me->urlName); |
fprintf(stderr, "AHTOpen_file: couldn't open output stream for url %s\n", me->urlName); |
#endif |
#endif |
Line 2393 void *context_tcbf;
|
Line 2395 void *context_tcbf;
|
|
|
if (me == NULL) |
if (me == NULL) |
{ |
{ |
/* need an error message here */ |
/* @@ need an error message here */ |
TtaHandlePendingEvents (); |
TtaHandlePendingEvents (); |
return (HT_ERROR); |
return (HT_ERROR); |
} |
} |