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

Re: HTLocal bug?

From: <jose.kahan@w3.org>
Date: Thu Jun 15 10:45:45 2000
Message-Id: <200006151445.QAA11944@tuvalu.inrialpes.fr>
To: kinuko@tom.sfc.keio.ac.jp (Kinuko Yasuda)
Cc: sam@topic.com.au, www-lib@w3.org
Hello Kinuko,

Thanks for your report, analysis, and patch.

Sometime in the far past, Kinuko Yasuda said:
> 
> I have met the same problem. 
> Using HTLocal for multiple files falls into an infinite loop...
> I recently posted a following quick-hacked-patch.
> Doesn't it fix your problem?
> 
> diff -bw HTFile.c.orig HTFile.c
> 439c439
> < 		if (HTHost_addNet(host, net) == HT_PENDING)
> ---
> > 		if (HTHost_addNet(host, net) == HT_PENDING) {
> 440a441,442
> >                     return HT_OK;
> >                 }

Is there any reason why you are (were) returning HT_OK instead of HT_PENDING?

I just made a change in HTFile.c to return HT_PENDING. It seems to be working.
I'll commit it to the base. 

Can you give it a try to see if it is working with your code?

Thanks,

-Jose
Received on Thursday, 15 June 2000 10:45:45 GMT

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