Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xrootd #1014

Open
TDCBQ opened this issue May 29, 2024 · 1 comment
Open

Xrootd #1014

TDCBQ opened this issue May 29, 2024 · 1 comment

Comments

@TDCBQ
Copy link

TDCBQ commented May 29, 2024

Why is there no method in xrootd for the server to accept locate requests

@TDCBQ
Copy link
Author

TDCBQ commented May 29, 2024

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant