W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

question on HTHost_launchPending

From: Fengyun Cao <fcao@CS.Princeton.EDU>
Date: Mon, 9 Apr 2001 03:15:44 -0400 (EDT)
To: <www-lib@w3.org>
Message-ID: <Pine.LNX.4.30.0104090313120.14473-100000@hoiho.CS.Princeton.EDU>
Hi all,
	Here's something that I cannot understand:

	In HTHost_launchPending, the "Check the current Host object for
pending Net objects" part, after finding a pending net object for this
host, it calls HTNet_execute, without putting this net object into
the host's pipeline. Thus, when the response comes back, it cannot find
any net object responsible for this response from the host's pipeline.

	In my code, the problem can be fixed by adding:

	if (!host->pipeline) host->pipeline = HTList_new();
        HTList_addObject(host->pipeline, net);

	However, I'm not sure if it's www-lib's bug or mine, since I'm
modifying the library myself. So please let me know whether you've met
similar problem or not.

Thanks and have a nice day!

- Fengyun
Received on Monday, 9 April 2001 08:42:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC