[WIP] xrootd: add support for multiple sessions and redirect response
Created by: EgorMatirov
Brief overview of redirect response (specs):
- It may occur at any time. Connection failures and server errors are treated as a redirect to the initial XRootD server (spec).
- Redirection may contain
token
which needs to be passed duringLogin
request. - Redirection may contain
opaque
which need to be added to the filename associated with the operation. - Redirection may occur during request with a file handle. In that case,
open
request should be re-issued before proceeding with the current request. Also, probably, in that case, we should update thehandle
we have inFile
. - It looks to me like we can end up with multiple files being opened on different servers.
Sorry, WIP branch again, I would like to hear your opinion on the current direction.
Btw, it's now able to cp the file from eospublic:
C:\Users\ematirov\Documents\tmp>xrd-cp root://eospublic.cern.ch:1094//eos/opendata/atlas/OutreachDatasets/2016-07-29/MC/mc_173045.DYtautauM08to15.root .
C:\Users\ematirov\Documents\tmp>
Updates #170.