Closed TDCBQ closed 1 week ago
Why is there no method in xrootd for the server to accept locate requests
What should I do with the Locale function? My method returns OK directly, but xrdfs prompts me
Invalid response
This is a request from my client
xrdfs root://localhost:1094/ ls -l /
This is the code I added to the server
func (h *fshandler) Locate(sessionID [16]byte, request *locate.Request) (xrdproto. Marshaler, xrdproto. ResponseStatus){
host := "localhost:1094"
Return location. Response {Data: [] byte (host)}, xrdproto.Ok
}
Why is there no method in xrootd for the server to accept locate requests