Print

Print


When the XRootD server is restarted, the client is no longer able to use the connection, responding with `[ERROR] Invalid session`. In this case, I want to establish a new connection and delete the old one.

The only way to delete the XrdSsiServReal object is to call the Stop() method, but this only works if `actvSes == false` and there is no way for the client to ensure this condition. Sessions can only be recycled by calling `XrdSsiServReal::Recycle(XrdSsiSessReal *sObj, bool reuse)`, but the `XrdSsiSessReal *` is not exposed to the client.

This means that every time the client reconnects to the server, the old server object cannot be removed from memory and hangs around indefinitely.

The client needs a way to force the XrdSsiServReal object to clean up all its data structures and delete itself.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/775

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1