Hi, Gerri and 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?
That sounds good. But even on top of that it would be nice to be able to set
the options per connection. Maybe the logic of my program wants to check
fast, whether it can access certain non critical files, but still I want to
have more stringent settings for critical files. If I use threads, the gEnv
way would force me to introduce mutexes (by the way: what happens in the case
of async connections, when I change the options while they are still in
process?).
Cheers,
Derek
|