[htdig3-dev] Commit


Subject: [htdig3-dev] Commit
From: Gabriele Bartolini (g.bartol@comune.prato.it)
Date: Thu Mar 02 2000 - 09:58:05 PST


Ciao,

        I have committed a couple of changes regarding the issue of the attributes
"tcp_max_retries" and "tcp_wait_time". And now "digging" phase supports
multiple setting for connections deending on servers.

        Unfortunately, I haven't had enough time to test changes. I'll do tests
tomorrow morning, before leaving for Paris ( Yep ;-D ). Anyway, it all
compiles with no warnings neither errors.

        I have also changed the managements of the so-called "server attributes".
As we now have a configuration system that let us set different values
depending on server "blocks", I think that every attribute regarding a
server configuration should stay as member of an object of the class
Server. So every option is set in the constructor of the class and taken
from the configuration file, using this method:

config.Value | Bool ("server", _host, "xxxx");

and store it in a variable.

Then in the Document class use the Server object related to the Url in
order to set the Transport values. All this, by changing the Retrieve
method of the Document class from:

Transport::DocStatus Retrieve(HtDateTime date);

to

Transport::DocStatus Retrieve(Server *server, HtDateTime date);

That's what I did ...

Ciao
-Gabriele

-------------------------------------------------

Gabriele Bartolini
Computer Programmer (are U sure?)
U.O. Rete Civica - Comune di Prato
Prato - Italia - Europa

e-mail: g.bartol@comune.prato.it
http://www.po-net.prato.it

-------------------------------------------------
Zinedine "Zizou" Zidane. Just for soccer lovers.
-------------------------------------------------
-------------------------------------------------

------------------------------------
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 : Thu Mar 02 2000 - 10:02:37 PST