version 1.105, 1995/11/14 23:30:13
|
version 1.106, 1995/11/16 18:24:06
|
Line 681 PUBLIC int HTLoadHTTP (SOCKET soc, HTReq
|
Line 681 PUBLIC int HTLoadHTTP (SOCKET soc, HTReq
|
HT_OK : HT_ERROR; |
HT_OK : HT_ERROR; |
} |
} |
} else { |
} else { |
HTRequest_addError(request, ERR_FATAL, NO, HTERR_MAX_REDIRECT, |
HTRequest_addError(request, ERR_FATAL, NO, |
NULL, 0, "HTLoadHTTP"); |
HTERR_MAX_REDIRECT,NULL,0,"HTLoadHTTP"); |
if (HTRequest_isPostWeb(request)) { |
if (HTRequest_isPostWeb(request)) { |
BOOL main = HTRequest_isMainDestination(request); |
BOOL main = HTRequest_isMainDestination(request); |
if (HTRequest_isDestination(request)) { |
if (HTRequest_isDestination(request)) { |
HTLink *link = |
HTLink *link = |
HTAnchor_findLink((HTAnchor *) request->source->anchor, |
HTAnchor_findLink((HTAnchor *)request->source->anchor, |
(HTAnchor *) request->anchor); |
(HTAnchor *)request->anchor); |
HTAnchor_setLinkResult(link, HT_LINK_ERROR); |
HTAnchor_setLinkResult(link, HT_LINK_ERROR); |
} |
} |
HTNet_callback(request, main ? HT_ERROR : HT_IGNORE); |
HTNet_callAfter(request, main ? HT_ERROR : HT_IGNORE); |
HTRequest_removeDestination(request); |
HTRequest_removeDestination(request); |
} |
} |
return HT_OK; |
return HT_OK; |
Line 738 PUBLIC int HTLoadHTTP (SOCKET soc, HTReq
|
Line 738 PUBLIC int HTLoadHTTP (SOCKET soc, HTReq
|
(HTAnchor *) request->anchor); |
(HTAnchor *) request->anchor); |
HTAnchor_setLinkResult(link, HT_LINK_ERROR); |
HTAnchor_setLinkResult(link, HT_LINK_ERROR); |
} |
} |
HTNet_callback(request, main ? HT_ERROR : HT_IGNORE); |
HTNet_callAfter(request, main ? HT_ERROR : HT_IGNORE); |
HTRequest_removeDestination(request); |
HTRequest_removeDestination(request); |
} |
} |
return HT_OK; |
return HT_OK; |