Skip to content

Commit

Permalink
XrdCl::DirListFlags::Locate should not be set when pss.origin's proto…
Browse files Browse the repository at this point in the history
…col is http(s)
  • Loading branch information
wyang007 committed Feb 18, 2022
1 parent 753fd54 commit 5550a77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/XrdPss/XrdPssConfig.cc
Expand Up @@ -799,7 +799,8 @@ int XrdPssSys::xorig(XrdSysError *errp, XrdOucStream &Config)
// of domain. Composite listings are normally disabled for out of domain nodes.
//
if (!index(mval, '.')
|| !strcmp(XrdPssUtils::getDomain(mval), XrdPssUtils::getDomain(myHost)))
|| (!strcmp(XrdPssUtils::getDomain(mval), XrdPssUtils::getDomain(myHost))
&& !strcmp(protName, "http://") && !strcmp(protName, "https://")))
XrdPosixConfig::SetEnv("DirlistDflt", 1);

// All done
Expand Down

0 comments on commit 5550a77

Please sign in to comment.