Skip to content

Commit

Permalink
Add additional warnings relative to namelib and forwarding proxies.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed May 13, 2017
1 parent daa41ae commit 8e88ea9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/XrdPss/XrdPssConfig.cc
Expand Up @@ -420,6 +420,13 @@ int XrdPssSys::ConfigN2N()
if (!xLfn2Pfn) return 0;
}

if (outProxy && xLfn2Pfn)
{const char *txt = (xPfn2Lfn ? "-lfn2pfn option" : "directive");
eDest.Say("Config warning: ignoring namelib ", txt,
"; this is forwarding proxy!");
if (!xPfn2Lfn) return 0;
}

// Get the plugin
//
if (!(theN2N = n2nLoader.Load(N2NLib, *myVersion))) return 1;
Expand Down

0 comments on commit 8e88ea9

Please sign in to comment.