Annotation of libwww/Library/src/HTMIME.c, revision 2.71.2.5
2.15 frystyk 1: /* HTMIME.c
2: ** MIME MESSAGE PARSE
3: **
2.22 frystyk 4: ** (c) COPYRIGHT MIT 1995.
2.15 frystyk 5: ** Please first read the full copyright statement in the file COPYRIGH.
2.71.2.5! eric 6: ** @(#) $Id: HTMIME.c,v 2.71.2.4 1996/11/06 15:27:29 eric Exp $
2.1 timbl 7: **
8: ** This is RFC 1341-specific code.
9: ** The input stream pushed into this parser is assumed to be
10: ** stripped on CRs, ie lines end with LF, not CR LF.
11: ** (It is easy to change this except for the body part where
12: ** conversion can be slow.)
13: **
14: ** History:
15: ** Feb 92 Written Tim Berners-Lee, CERN
2.13 duns 16: ** 8 Jul 94 FM Insulate free() from _free structure element.
2.71 frystyk 17: ** 14 Mar 95 HFN Now using response for storing data. No more `\n',
2.18 frystyk 18: ** static buffers etc.
2.1 timbl 19: */
2.17 frystyk 20:
21: /* Library include files */
2.57 frystyk 22: #include "sysdep.h"
2.60 frystyk 23: #include "WWWUtil.h"
2.61 frystyk 24: #include "WWWCore.h"
2.70 frystyk 25: #include "WWWCache.h"
26: #include "WWWStream.h"
2.61 frystyk 27: #include "HTReqMan.h"
28: #include "HTNetMan.h"
2.36 frystyk 29: #include "HTHeader.h"
2.64 eric 30: #include "HTWWWStr.h"
2.14 frystyk 31: #include "HTMIME.h" /* Implemented here */
2.1 timbl 32:
2.64 eric 33: #define MIME_HASH_SIZE 101
34:
2.70 frystyk 35: typedef enum _HTMIMEMode {
36: HT_MIME_HEADER = 0x1,
2.71 frystyk 37: HT_MIME_FOOTER = 0x2,
38: HT_MIME_PARTIAL = 0x4
2.70 frystyk 39: } HTMIMEMode;
40:
2.1 timbl 41: struct _HTStream {
2.57 frystyk 42: const HTStreamClass * isa;
2.18 frystyk 43: HTRequest * request;
2.71 frystyk 44: HTResponse * response;
2.32 frystyk 45: HTNet * net;
2.18 frystyk 46: HTStream * target;
47: HTFormat target_format;
2.64 eric 48: HTChunk * token;
49: HTChunk * value;
50: int hash;
2.59 frystyk 51: HTEOLState EOLstate;
2.70 frystyk 52: HTMIMEMode mode;
2.18 frystyk 53: BOOL transparent;
2.64 eric 54: BOOL haveToken;
2.1 timbl 55: };
56:
2.18 frystyk 57: /* ------------------------------------------------------------------------- */
2.1 timbl 58:
2.64 eric 59: PRIVATE int pumpData (HTStream * me)
2.18 frystyk 60: {
2.64 eric 61: HTRequest * request = me->request;
2.71 frystyk 62: HTResponse * response = me->response;
63: HTFormat format = HTResponse_format(response);
64: HTEncoding transfer = HTResponse_transfer(response);
65: long length = HTResponse_length(response);
2.48 frystyk 66: me->transparent = YES; /* Pump rest of data right through */
2.27 frystyk 67:
2.71 frystyk 68: /* If this request is a source in PostWeb then pause here */
2.66 frystyk 69: if (HTRequest_isSource(request)) return HT_PAUSE;
2.47 frystyk 70:
2.71 frystyk 71: /*
72: ** Cache the metainformation in the anchor object by moving
73: ** it from the response object. This we do regardless if
74: ** we have a persistent cache or not as the memory cache will
75: ** use it as well. If we are updating a cache entry using
76: ** byte ranges then we alreayd have the metainformation and
77: ** hence we can ignore the new one as it'd better be the same.
78: */
79: if (!(me->mode & (HT_MIME_PARTIAL | HT_MIME_FOOTER)) &&
80: HTResponse_isCachable(me->response)) {
81: HTAnchor_update(HTRequest_anchor(request), me->response);
82: }
83:
84: /*
85: ** If we asked only to read the header or footer or we used a HEAD
86: ** method then we stop here as we don't expect any body part.
87: */
2.70 frystyk 88: if (me->mode & (HT_MIME_HEADER | HT_MIME_FOOTER) ||
2.71 frystyk 89: HTRequest_method(request) == METHOD_HEAD) {
2.70 frystyk 90: return HT_LOADED;
91: }
2.43 frystyk 92:
2.60 frystyk 93: /*
2.71 frystyk 94: ** If there is no content-length, no transfer encoding and no
95: ** content type then we assume that there is no body part in
96: ** the message and we can return HT_LOADED
2.68 frystyk 97: */
98: if (length<=0 && format==WWW_UNKNOWN && transfer==NULL) {
99: if (STREAM_TRACE) HTTrace("MIME Parser. No body in this messsage\n");
100: return HT_LOADED;
101: }
102:
103: /*
2.71 frystyk 104: ** Handle any Content Type
2.60 frystyk 105: */
2.71 frystyk 106: if (!(me->mode & HT_MIME_PARTIAL) &&
107: (format != WWW_UNKNOWN || length > 0 || transfer)) {
108: if (STREAM_TRACE) HTTrace("Building.... C-T stack from %s to %s\n",
109: HTAtom_name(format),
110: HTAtom_name(me->target_format));
111: me->target = HTStreamStack(format, me->target_format,
112: me->target, request, YES);
2.18 frystyk 113: }
2.60 frystyk 114:
2.71 frystyk 115: /*
116: ** Handle any Content Encoding
117: */
2.61 frystyk 118: {
2.71 frystyk 119: HTList * cc = HTResponse_encoding(response);
2.61 frystyk 120: if (cc) {
121: if (STREAM_TRACE) HTTrace("Building.... C-E stack\n");
122: me->target = HTContentDecodingStack(cc, me->target, request, NULL);
123: }
2.60 frystyk 124: }
125:
2.70 frystyk 126: /*
2.71 frystyk 127: ** Can we cache the data object? If so then create a T stream and hook it
128: ** into the stream pipe. We do it before the transfer decoding so that we
129: ** don't have to deal with that when we retrieve the object from cache.
130: ** If we are appending to a cache entry then use a different stream than
131: ** if creating a new entry.
132: */
133: if (HTCacheMode_enabled()) {
134: if (me->mode & HT_MIME_PARTIAL) {
135: HTStream * append = HTStreamStack(WWW_CACHE_APPEND,
136: me->target_format,
137: me->target, request, NO);
138: #if 0
139: if (cache) me->target = HTTee(me->target, cache, NULL);
140: me->target = HTPipeBuffer_new(me->target, request, 0);
141: #else
142: me->target = append;
143: #endif
144: } else if (HTResponse_isCachable(me->response)) {
145: HTStream * cache = HTStreamStack(WWW_CACHE, me->target_format,
146: me->target, request, NO);
147: if (cache) me->target = HTTee(me->target, cache, NULL);
148: }
2.70 frystyk 149: }
150:
2.71 frystyk 151: /*
152: ** Handle any Transfer encoding
153: */
2.61 frystyk 154: {
155: if (!HTFormat_isUnityTransfer(transfer)) {
156: if (STREAM_TRACE) HTTrace("Building.... C-T-E stack\n");
157: me->target = HTTransferCodingStack(transfer, me->target,
158: request, NULL, NO);
159: }
160: }
2.71 frystyk 161:
2.27 frystyk 162: return HT_OK;
2.1 timbl 163: }
164:
2.65 eric 165: /* _dispatchParsers - call request's MIME header parser.
166: ** Use global parser if no appropriate one is found for request.
167: */
168: PRIVATE int _dispatchParsers (HTStream * me)
169: {
170: int status;
171: char * token = HTChunk_data(me->token);
172: char * value = HTChunk_data(me->value);
2.71 frystyk 173: BOOL found = NO;
174: BOOL local = NO;
2.65 eric 175: HTMIMEParseSet * parseSet;
176:
177: /* In case we get an empty header consisting of a CRLF, we fall thru */
2.66 frystyk 178: if (STREAM_TRACE) HTTrace("MIME header. %s: %s\n",
179: token ? token : "<null>",
180: value ? value : "<null>");
181: if (!token) return HT_OK; /* Ignore noop token */
2.65 eric 182:
2.70 frystyk 183: /*
2.71 frystyk 184: ** Remember the original header
185: */
186: HTResponse_addHeader(me->response, token, value);
187:
188: /*
2.70 frystyk 189: ** Search the local set of MIME parsers
190: */
2.65 eric 191: if ((parseSet = HTRequest_MIMEParseSet(me->request, &local)) != NULL) {
192: status = HTMIMEParseSet_dispatch(parseSet, me->request,
2.71 frystyk 193: token, value, &found);
194: if (found) return status;
2.65 eric 195: }
196:
2.70 frystyk 197: /*
198: ** Search the global set of MIME parsers
199: */
2.71 frystyk 200: if (local==NO && (parseSet = HTHeader_MIMEParseSet()) != NULL) {
201: status = HTMIMEParseSet_dispatch(parseSet, me->request,
202: token, value, &found);
203: if (found) return status;
204: }
205:
2.65 eric 206: return HT_OK;
207: }
208:
2.18 frystyk 209: /*
210: ** Header is terminated by CRCR, LFLF, CRLFLF, CRLFCRLF
211: ** Folding is either of CF LWS, LF LWS, CRLF LWS
212: */
2.57 frystyk 213: PRIVATE int HTMIME_put_block (HTStream * me, const char * b, int l)
2.18 frystyk 214: {
2.57 frystyk 215: const char * start = b;
216: const char * end = start;
2.64 eric 217: const char * value = me->value->size ? b : NULL;
2.71.2.3 frystyk 218: int length = l;
2.64 eric 219: int status;
220: /* enum {Line_CHAR, Line_END, Line_FOLD, Line_LINE} line = Line_CHAR; */
221:
222: while (!me->transparent) {
2.18 frystyk 223: if (me->EOLstate == EOL_FCR) {
2.64 eric 224: if (*b == CR) /* End of header */
225: me->EOLstate = EOL_END;
226: else if (*b == LF) /* CRLF */
2.18 frystyk 227: me->EOLstate = EOL_FLF;
2.64 eric 228: else if (WHITE(*b)) /* Folding: CR SP */
229: me->EOLstate = EOL_FOLD;
230: else /* New line */
231: me->EOLstate = EOL_LINE;
2.18 frystyk 232: } else if (me->EOLstate == EOL_FLF) {
233: if (*b == CR) /* LF CR or CR LF CR */
234: me->EOLstate = EOL_SCR;
2.64 eric 235: else if (*b == LF) /* End of header */
236: me->EOLstate = EOL_END;
237: else if (WHITE(*b)) /* Folding: LF SP or CR LF SP */
238: me->EOLstate = EOL_FOLD;
239: else /* New line */
240: me->EOLstate = EOL_LINE;
241: } else if (me->EOLstate == EOL_SCR) {
242: if (*b==CR || *b==LF) /* End of header */
243: me->EOLstate = EOL_END;
244: else if (WHITE(*b)) /* Folding: LF CR SP or CR LF CR SP */
245: me->EOLstate = EOL_FOLD;
246: else /* New line */
247: me->EOLstate = EOL_LINE;
248: } else if (*b == CR)
249: me->EOLstate = EOL_FCR;
250: else if (*b == LF)
251: me->EOLstate = EOL_FLF; /* Line found */
252: else {
253: if (!me->haveToken) {
254: if (*b == ':' || isspace(*b)) {
255: HTChunk_putb(me->token, start, end-start);
256: HTChunk_putc(me->token, '\0');
257: me->haveToken = YES;
258: } else {
259: unsigned char ch = *(unsigned char *) b;
2.71.2.1 eric 260: ch = tolower(ch);
2.64 eric 261: /* if (ch >= 'A' && ch <= 'Z')
262: ch += ('a' - 'A'); */
263: me->hash = (me->hash * 3 + ch) % MIME_HASH_SIZE;
264: }
265: } else if (value == NULL && *b != ':' && !isspace(*b))
266: value = b;
267: end++;
268: }
269: switch (me->EOLstate) {
270: case EOL_LINE:
2.71.2.5! eric 271: case EOL_END:
! 272: {
2.64 eric 273: int status;
274: HTChunk_putb(me->value, value, end-value);
275: HTChunk_putc(me->value, '\0');
2.65 eric 276: status = _dispatchParsers(me);
2.71.2.4 eric 277: HTNet_addBytesRead(me->net, b-start);
2.71.2.3 frystyk 278: start=b, end=b;
2.64 eric 279: if (me->EOLstate == EOL_END) { /* EOL_END */
2.67 frystyk 280: if (status == HT_OK) {
281: b++, l--;
2.64 eric 282: status = pumpData(me);
2.71.2.4 eric 283: HTNet_addBytesRead(me->net, 1);
2.71.2.3 frystyk 284: HTNet_setHeaderLength(me->net, HTNet_bytesRead(me->net));
2.71.2.5! eric 285: if (status == HT_LOADED)
! 286: HTHost_setConsumed(HTNet_host(me->net), length - l);
2.67 frystyk 287: }
2.64 eric 288: } else { /* EOL_LINE */
289: HTChunk_clear(me->token);
290: HTChunk_clear(me->value);
291: me->haveToken = NO;
292: me->hash = 0;
293: value = NULL;
294: }
2.18 frystyk 295: me->EOLstate = EOL_BEGIN;
2.71.2.5! eric 296: if (status != HT_OK) return status;
2.64 eric 297: break;
2.71.2.5! eric 298: }
2.64 eric 299: case EOL_FOLD:
2.18 frystyk 300: me->EOLstate = EOL_BEGIN;
2.64 eric 301: if (!me->haveToken) {
302: HTChunk_putb(me->token, start, end-start);
303: HTChunk_putc(me->token, '\0');
304: me->haveToken = YES;
305: } else if (value) {
306: HTChunk_putb(me->value, value, end-value);
307: HTChunk_putc(me->value, ' ');
308: }
309: start=b, end=b;
310: break;
311: default:
2.71.2.4 eric 312: b++, l--;
2.64 eric 313: if (!l) {
314: if (!me->haveToken)
315: HTChunk_putb(me->token, start, end-start);
316: else if (value)
317: HTChunk_putb(me->value, value, end-value);
318: return HT_OK;
319: }
320: }
2.18 frystyk 321: }
2.32 frystyk 322:
323: /*
324: ** Put the rest down the stream without touching the data but make sure
2.71.2.3 frystyk 325: ** that we get the correct content length of data. If we have a CL in
326: ** the headers then this stream is responsible for the accountance.
2.32 frystyk 327: */
2.66 frystyk 328: if (me->target) {
2.71.2.3 frystyk 329: HTNet * net = me->net;
2.71.2.1 eric 330: /* Check if CL at all - thanks to jwei@hal.com (John Wei) */
331: long cl = HTResponse_length(me->response);
2.71.2.3 frystyk 332: if (cl >= 0) {
333: long bodyRead = HTNet_bytesRead(net) - HTNet_headerLength(net);
2.71.2.1 eric 334:
2.71.2.3 frystyk 335: /*
336: ** If we have more than we need then just take what belongs to us.
337: */
338: if (bodyRead + l >= cl) {
339: int consume = cl - bodyRead;
340: if ((status = (*me->target->isa->put_block)(me->target, b, consume)) < 0)
341: return status;
342: HTNet_addBytesRead(net, consume);
2.71.2.5! eric 343: /*
! 344: ** Tell the host that we are only using the amount still needed for
! 345: ** the body + the amount just used in the header
! 346: */
! 347: HTHost_setConsumed(HTNet_host(net), consume + length - l);
2.71.2.3 frystyk 348: return HT_LOADED;
349: } else {
350: if ((status = (*me->target->isa->put_block)(me->target, b, l)) < 0)
351: return status;
352: HTNet_addBytesRead(net, l);
2.71.2.1 eric 353: return status;
2.71.2.3 frystyk 354: }
2.71.2.1 eric 355: }
2.71.2.3 frystyk 356: return (*me->target->isa->put_block)(me->target, b, l);
2.66 frystyk 357: }
2.71.2.3 frystyk 358: HTHost_setConsumed(HTNet_host(me->net), HTNet_bytesRead(me->net));
2.66 frystyk 359: return HT_LOADED;
2.18 frystyk 360: }
361:
362:
363: /* Character handling
364: ** ------------------
365: */
2.36 frystyk 366: PRIVATE int HTMIME_put_character (HTStream * me, char c)
2.18 frystyk 367: {
368: return HTMIME_put_block(me, &c, 1);
369: }
370:
2.1 timbl 371:
372: /* String handling
373: ** ---------------
374: */
2.57 frystyk 375: PRIVATE int HTMIME_put_string (HTStream * me, const char * s)
2.1 timbl 376: {
2.18 frystyk 377: return HTMIME_put_block(me, s, (int) strlen(s));
2.1 timbl 378: }
379:
380:
2.18 frystyk 381: /* Flush an stream object
382: ** ---------------------
2.1 timbl 383: */
2.36 frystyk 384: PRIVATE int HTMIME_flush (HTStream * me)
2.1 timbl 385: {
2.47 frystyk 386: return me->target ? (*me->target->isa->flush)(me->target) : HT_OK;
2.1 timbl 387: }
388:
2.18 frystyk 389: /* Free a stream object
390: ** --------------------
2.1 timbl 391: */
2.36 frystyk 392: PRIVATE int HTMIME_free (HTStream * me)
2.1 timbl 393: {
2.18 frystyk 394: int status = HT_OK;
2.64 eric 395: if (!me->transparent)
2.65 eric 396: if (_dispatchParsers(me) == HT_OK)
2.64 eric 397: pumpData(me);
2.25 frystyk 398: if (me->target) {
399: if ((status = (*me->target->isa->_free)(me->target))==HT_WOULD_BLOCK)
400: return HT_WOULD_BLOCK;
401: }
2.26 frystyk 402: if (PROT_TRACE)
2.55 eric 403: HTTrace("MIME........ FREEING....\n");
2.64 eric 404: HTChunk_delete(me->token);
405: HTChunk_delete(me->value);
2.52 frystyk 406: HT_FREE(me);
2.18 frystyk 407: return status;
2.1 timbl 408: }
409:
410: /* End writing
411: */
2.38 frystyk 412: PRIVATE int HTMIME_abort (HTStream * me, HTList * e)
2.1 timbl 413: {
2.18 frystyk 414: int status = HT_ERROR;
2.41 frystyk 415: if (me->target) status = (*me->target->isa->abort)(me->target, e);
2.26 frystyk 416: if (PROT_TRACE)
2.55 eric 417: HTTrace("MIME........ ABORTING...\n");
2.64 eric 418: HTChunk_delete(me->token);
419: HTChunk_delete(me->value);
2.52 frystyk 420: HT_FREE(me);
2.18 frystyk 421: return status;
2.1 timbl 422: }
423:
424:
425:
426: /* Structured Object Class
427: ** -----------------------
428: */
2.57 frystyk 429: PRIVATE const HTStreamClass HTMIME =
2.1 timbl 430: {
431: "MIMEParser",
2.18 frystyk 432: HTMIME_flush,
2.1 timbl 433: HTMIME_free,
2.6 timbl 434: HTMIME_abort,
435: HTMIME_put_character,
436: HTMIME_put_string,
2.18 frystyk 437: HTMIME_put_block
2.1 timbl 438: };
439:
440:
2.48 frystyk 441: /* MIME header parser stream.
2.1 timbl 442: ** -------------------------
2.48 frystyk 443: ** This stream parses a complete MIME header and if a content type header
444: ** is found then the stream stack is called. Any left over data is pumped
445: ** right through the stream
2.1 timbl 446: */
2.36 frystyk 447: PUBLIC HTStream* HTMIMEConvert (HTRequest * request,
448: void * param,
449: HTFormat input_format,
450: HTFormat output_format,
451: HTStream * output_stream)
2.1 timbl 452: {
2.62 frystyk 453: HTStream * me;
2.52 frystyk 454: if ((me = (HTStream *) HT_CALLOC(1, sizeof(* me))) == NULL)
455: HT_OUTOFMEM("HTMIMEConvert");
2.1 timbl 456: me->isa = &HTMIME;
2.18 frystyk 457: me->request = request;
2.71 frystyk 458: me->response = HTRequest_response(request);
2.70 frystyk 459: me->net = HTRequest_net(request);
2.49 frystyk 460: me->target = output_stream;
2.18 frystyk 461: me->target_format = output_format;
2.64 eric 462: me->token = HTChunk_new(256);
463: me->value = HTChunk_new(256);
464: me->hash = 0;
2.18 frystyk 465: me->EOLstate = EOL_BEGIN;
2.64 eric 466: me->haveToken = NO;
2.1 timbl 467: return me;
468: }
2.32 frystyk 469:
2.48 frystyk 470: /* MIME header ONLY parser stream
471: ** ------------------------------
472: ** This stream parses a complete MIME header and then returnes HT_PAUSE.
473: ** It does not set up any streams and resting data stays in the buffer.
474: ** This can be used if you only want to parse the headers before you
475: ** decide what to do next. This is for example the case in a server app.
476: */
477: PUBLIC HTStream * HTMIMEHeader (HTRequest * request,
478: void * param,
479: HTFormat input_format,
480: HTFormat output_format,
481: HTStream * output_stream)
482: {
2.62 frystyk 483: HTStream * me = HTMIMEConvert(request, param, input_format,
484: output_format, output_stream);
2.70 frystyk 485: me->mode |= HT_MIME_HEADER;
2.48 frystyk 486: return me;
487: }
2.62 frystyk 488:
489: /* MIME footer ONLY parser stream
490: ** ------------------------------
491: ** Parse only a footer, for example after a chunked encoding.
492: */
493: PUBLIC HTStream * HTMIMEFooter (HTRequest * request,
494: void * param,
495: HTFormat input_format,
496: HTFormat output_format,
497: HTStream * output_stream)
498: {
499: HTStream * me = HTMIMEConvert(request, param, input_format,
500: output_format, output_stream);
2.70 frystyk 501: me->mode |= HT_MIME_FOOTER;
2.67 frystyk 502: me->EOLstate = EOL_FLF;
2.62 frystyk 503: return me;
504: }
2.71 frystyk 505:
506: /* Partial Response MIME parser stream
507: ** -----------------------------------
508: ** In case we sent a Range conditional GET we may get back a partial
509: ** response. This response must be appended to the already existing
510: ** cache entry before presented to the user.
511: ** We do this by continuing to load the new object into a temporary
512: ** buffer and at the same time start the cache load of the already
513: ** existing object. When we have loaded the cache we merge the two
514: ** buffers.
515: */
516: PUBLIC HTStream * HTMIMEPartial (HTRequest * request,
517: void * param,
518: HTFormat input_format,
519: HTFormat output_format,
520: HTStream * output_stream)
521: {
522: #if 0
523: HTParentAnchor * anchor = HTRequest_anchor(request);
524: HTStream * me = NULL;
525: HTStream * merge = NULL;
526: /*
527: ** The merge stream is a place holder for where we can put data when it
528: ** arrives. We have two feeds: one from the cache and one from the net.
529: ** We call the stream stack already now to get the right output stream.
530: ** We can do this as we already know the content type from when we got the
531: ** first part of the object.
532: */
533: {
534: HTFormat format = HTAnchor_format(anchor);
535: if (STREAM_TRACE) HTTrace("Building.... C-T stack from %s to %s\n",
536: HTAtom_name(format),
537: HTAtom_name(output_format));
538: merge = HTMerge(HTStreamStack(format, output_format, output_stream,
539: request, YES), 2);
540: }
541:
542: #else
543: /*
544: ** Set up the MIME parser as the one feed to the merge stream. The MIME
545: ** parser then calls the PIPE buffer. We use source output as the stream
546: ** stack has already been called.
547: */
548: HTStream * me = HTMIMEConvert(request, param, input_format,
549: output_format, output_stream);
550: me->mode |= HT_MIME_PARTIAL;
551: #endif
552:
553: /*
554: ** Now start the second load from the cache. First we read this data from
555: ** the cache and then we flush the data that we have read from the net.
556: ** We use the same anchor as before but with another physical address.
557: */
558: {
559: HTParentAnchor * anchor = HTRequest_anchor(request);
560: HTRequest * creq = HTRequest_new();
561: HTCache * cache = NULL;
562:
563: /* Set up the request */
564: #if 0
565: HTRequest_setOutputFormat(creq, WWW_SOURCE);
566: HTRequest_setOutputStream(creq, me);
567: #endif
568: HTRequest_setAnchor(creq, (HTAnchor *) anchor);
569:
570: /* Set up the anchor */
571: if ((cache = HTCache_find(anchor))) {
572: char * name = HTCache_name(cache);
573: HTAnchor_setPhysical(anchor, name);
574: HT_FREE(name);
575: if (STREAM_TRACE) HTTrace("Partial..... Starting cache load\n");
576: HTLoad(creq, NO);
577: }
578: }
579: return me;
580: }
581:
Webmaster