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

shutting down request after timer interrupt

From: Michael Kifer <kifer@cs.sunysb.edu>
Date: Mon, 10 Apr 2000 12:40:44 -0400
Message-Id: <200004101640.MAA19500@sbcs.cs.sunysb.edu>
To: www-lib@w3.org


What is a proper way to kill a request after a timer interrupt?
If I use HTNet_killAll() then I get Illegal instruction at line
314 in HTFile.c (this particular request is to a local file):

    if (input) {
	if (status == HT_INTERRUPTED)
-->	    (*input->isa->abort)(input, NULL);

This is because (*input->isa->abort) is garbage at this point.
The check for input !=NULL or even ((input->isa) && (input->isa->abort))
doesn't help, because the input stream pointer is non-null, but it points
to garbage.



Thanks,
Michael Kifer
kifer@cs.sunysb.edu 
Received on Monday, 10 April 2000 12:44:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT