@olifre - do you have the ability to test out a patch?
I think this will work:
diff --git a/src/XrdTpc/XrdTpcTPC.cc b/src/XrdTpc/XrdTpcTPC.cc
index 457bf28..8091ac6 100644
--- a/src/XrdTpc/XrdTpcTPC.cc
+++ b/src/XrdTpc/XrdTpcTPC.cc
@@ -181,6 +181,8 @@ int TPCHandler::OpenWaitStall(XrdSfsFile &fh, const std::string &resource,
{
int open_result;
while (1) {
+ int orig_ucap = fh.error.getUCap();
+ fh.error.setUCap(orig_ucap | XrdOucEI::uIPv64);
open_result = fh.open(resource.c_str(), mode, openMode, &sec,
authz.empty() ? NULL: authz.c_str());
if ((open_result == SFS_STALL) || (open_result == SFS_STARTED)) {
Might take me a bit more time for me to completely reproduce your setup on my development VM.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bbockelm in #968: @olifre - do you have the ability to test out a patch?\r\n\r\nI think this will work:\r\n```\r\ndiff --git a/src/XrdTpc/XrdTpcTPC.cc b/src/XrdTpc/XrdTpcTPC.cc\r\nindex 457bf28..8091ac6 100644\r\n--- a/src/XrdTpc/XrdTpcTPC.cc\r\n+++ b/src/XrdTpc/XrdTpcTPC.cc\r\n@@ -181,6 +181,8 @@ int TPCHandler::OpenWaitStall(XrdSfsFile \u0026fh, const std::string \u0026resource,\r\n {\r\n int open_result;\r\n while (1) {\r\n+ int orig_ucap = fh.error.getUCap();\r\n+ fh.error.setUCap(orig_ucap | XrdOucEI::uIPv64);\r\n open_result = fh.open(resource.c_str(), mode, openMode, \u0026sec,\r\n authz.empty() ? NULL: authz.c_str());\r\n if ((open_result == SFS_STALL) || (open_result == SFS_STARTED)) {\r\n```\r\n\r\nMight take me a bit more time for me to completely reproduce your setup on my development VM."}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/968#issuecomment-484646974"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/issues/968#issuecomment-484646974",
"url": "https://github.com/xrootd/xrootd/issues/968#issuecomment-484646974",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
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