Print

Print


Figured it out!

libXrdClient is also loaded (for unrelated reasons, but we can't get rid of it).  This forces IPv4-only.

Accordingly, after all is loaded and before we invoke any Xrootd calls, we already set:

env->PutString("NetworkStack", "IPAuto");

However, that seems to put the client in a semi-inconsistent state.  I had to next manually call:

XrdNetUtils::SetAuto(XrdNetUtils::prefAuto);

This corrects the getaddrinfo flags used in XrdNetUtils so IPv6 addresses are returned.

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/164#issuecomment-64014284

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1