Hi Derek, Fabrizio,
Yes, as it is now TXNetFile allows only one set of globally-set config
options.
I remember a brief discussion we had Fabrizio and I once on this, but then
nothing has been done.
As this may be relevant also for 'xrdcp', perhaps we should introduce the
possibility to define 'per host' rules in a config file checked by
XrdClient,
making use of the existing 'if-then' infrastructure used for server
directives.
What do you think?
Gerri
ps: I'll fix the inconsistencies in the names and add the new options in
system.rootrc: thanks for spotting this.
Derek Feichtinger wrote:
>Ciao, Fabrizio
>
>I'm just toying around a bit with TXNetFile, and I was looking for setting Xrd
>Client related options (timeouts, reconnection attempts, etc) on a per
>connection basis from ROOT.
>
>Is there a better way than globally setting the options via gEnv? Coudn't find
>anything in the source.
>
>Minor Detail:
>The README_params file in xrootd's XrdClient directory lists "DebugLevel" as
>the name of the debug option, but the code actually uses "Debug", i.e. one
>needs gEnv->SetValue("XNet.Debug",4).
>
>Thanks,
>Derek
>
>
>
--
+--------------------------------------------------------------------------+
Gerardo GANIS PH Department, CERN
address CERN, CH 1211 Geneve 23
room: 32-RC-017, tel / fax: +412276 76439 / 69133
e-mail [log in to unmask]
+--------------------------------------------------------------------------+
|