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

XrdCl::DirListFlags::Locate should not be set when pss.origin's protocol is http(s) #1622

Closed
wyang007 opened this issue Feb 18, 2022 · 1 comment

Comments

@wyang007
Copy link
Member

Line https://github.com/xrootd/xrootd/blob/master/src/XrdPss/XrdPssConfig.cc#L803 (or the last line of the following code)
if (!index(mval, '.')
|| !strcmp(XrdPssUtils::getDomain(mval), XrdPssUtils::getDomain(myHost)))
XrdPosixConfig::SetEnv("DirlistDflt", 1);

should not be called when the protocol (protName) is http or https. Calling it causes XrdPosixGlobals::dlFlag be set to XrdCl::DirListFlags::Locate, trigging a DeepLocate() later against an http(s) origin.

@wyang007
Copy link
Member Author

fixed by commit 5550a77

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