Skip to content

Commit 3b2df41

Browse files
committed
add RRawFileCurl plugin
1 parent 4a4d181 commit 3b2df41

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
void P015_RRawFileCurl()
2+
{
3+
TString configfeatures = gROOT->GetConfigFeatures();
4+
5+
if (configfeatures.Contains("curl") &&
6+
(!configfeatures.Contains("davix") || gEnv->GetValue("Curl.ReplaceDavix", 0))) {
7+
8+
gPluginMgr->AddHandler("ROOT::Internal::RRawFile", "^http[s]?:", "ROOT::Internal::RRawFileCurl", "RCurlHttp",
9+
"RRawFileCurl(std::string_view, ROOT::Internal::RRawFile::ROptions)");
10+
}
11+
}

0 commit comments

Comments
 (0)