Print

Print


  Hi Martin,

  Andy can probably answer regarding the specifics. Could you give us
some idea of the context of what you are trying to do?

                                 thanks,
                                   Pete

On Mon, Feb 06, 2006 at 07:36:27PM +0100, Martin Radicke wrote:
> I have a question concerning the XrdClient as it is found in the latest
> development version. 
> 
> After receiving a redirect message from the redirector, the client
> doesn't seem to handle the response data correctly. To be more precise,
> the client is parsing the newHost-string in order to find the optional
> token (separated by a question mark). But what about the second
> parameter (opaque data) as specified in the Xrootd protocol
> (kxr_redirect response)? Why is it not parsed as well?
> 
> Another thing is, that whenever one of this two parameters (or both) are
> passed along with the redirect response, the client (and therefore
> TXNetFile) fails extracting the correct new host
> (XrdClientConn::ParseRedir()). If I'm not mistaken, this is caused by
> "host.EraseFromStart(pos);" instead of "host.EraseFromEnd(pos);". 
> 
> BTW, if the client is redirected, how is the opaque data (if present)
> encoded in the request message when re-opening the file on the data
> server?



-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------