Delay between header and body in POST

Hello again:

When POSTing data to a server, there's a very palpable
delay (2 seconds) between transmission of the request
headers and transmission of the POSTed data body.

Anyone have ideas what I'm doing wrong that's causing
that?

My calls, in order, are:

HTLibInit("retrieveProduct()", "1.0");
HTLib_setSecure(YES);
HTLib_setSecure(YES);
HTTransportInit();
HTProtocolInit();
HTMIMEInit();
converters = HTList_new();
HTConverterInit(converters);
HTFormat_setConversion(converters);
presenters = HTList_new();
HTPresenterInit(presenters);
transferEncoders = HTList_new();
HTTransferEncoderInit(transferEncoders);
HTFormat_setTransferCoding(transferEncoders);
contentEncoders = HTList_new();
HTContentEncoderInit(contentEncoders);
HTNetInit();
HTAAInit();
HTEventInit();
HTNet_addAfter(responseArrived, NULL, NULL, HT_ALL, HT_FILTER_LAST);
HTHost_setEventTimeout(10000);
HTRequest_setOutputFormat(request, HTAtom_for("text/xml"));
anchor = HTAnchor_findAddress(uri);
HTAnchor_setFormat((HTParentAnchor*) anchor, WWW_FORM);
result = HTPostFormAnchorToChunk(params, anchor, request);
HTEventList_newLoop();

And the responseArrived() function merely calls
HTEventList_stopLoop().

Thanks for your assistance,
--Sean

Received on Wednesday, 23 May 2001 18:17:52 UTC