Re: HTLocal bug?

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 UTC