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.

Michael Kifer
Received on Monday, 10 April 2000 12:44:25 UTC

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