Re: [htdig3-dev] Transport code broken


Subject: Re: [htdig3-dev] Transport code broken
From: loic@ceic.com
Date: Thu Feb 10 2000 - 14:18:18 PST


Geoff Hutchison writes:
>
> > a server. Gabriele asked me to check since he experienced the same problem
> > and I confirm this.
>
> This is a bit strange and I'll investigate futher when I have a chance,
> but I would suspect the culprit is in Connection.cc:
>
> ***************
> *** 59,64 ****
> --- 62,68 ----
> server_name = 0;
> all_connections.Add(this);
> timeout_value = 0;
> + retry_value = 0;
>
> pos = pos_max = 0;
> }
> ***************
> *** 84,89 ****
> --- 88,94 ----
> server_name = 0;
> all_connections.Add(this);
> timeout_value = 0;
> + retry_value = 0;
>
> pos = pos_max = 0;
> }
>
> So I'd set the default to 1. This is probably what it should be anyway,
> but the code should be setting retry_value to a nonzero value elsewhere.
>

 That's a lot better:

PASS: t_htdig
PASS: t_htsearch
PASS: t_htmerge
PASS: t_wordkey
PASS: t_wordlist
PASS: t_wordskip
PASS: t_htnet
==================
All 7 tests passed
==================

 I'll commit this modification so that it works while waiting for Gabriele
to carefully review this fix and make sure there was no other mistakes.

   Thanks !

-- 
		Loic Dachary

24 av Secretan 75019 Paris Tel: 33 1 42 45 09 16 e-mail: loic@dachary.org URL: http://www.senga.org/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Feb 11 2000 - 02:25:11 PST