Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2018-02-26 13:37:10 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2018-02-26 13:37:10 +0300
commitbd863016faca89fe78844467aefdd319db044b69 (patch)
treee7a879fd088bb147686b4982c072be4ea48f406d /Duplicati/Library/Backend/CloudFiles/CloudFiles.cs
parent325d45d7848796b2f7da1618c12f883459b46cd1 (diff)
Added support for returning multiple DNS names for cache invalidation.
Updated most backends to return the actual DNS names for cache invalidation.
Diffstat (limited to 'Duplicati/Library/Backend/CloudFiles/CloudFiles.cs')
-rw-r--r--Duplicati/Library/Backend/CloudFiles/CloudFiles.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/Library/Backend/CloudFiles/CloudFiles.cs b/Duplicati/Library/Backend/CloudFiles/CloudFiles.cs
index 62a0cdcc1..71783dfc8 100644
--- a/Duplicati/Library/Backend/CloudFiles/CloudFiles.cs
+++ b/Duplicati/Library/Backend/CloudFiles/CloudFiles.cs
@@ -290,9 +290,9 @@ namespace Duplicati.Library.Backend
get { return true; }
}
- public string DNSName
+ public string[] DNSName
{
- get { return null; }
+ get { return new string[] { new Uri(m_authUrl).Host, string.IsNullOrWhiteSpace(m_storageUrl) ? null : new Uri(m_storageUrl).Host }; }
}
public void Get(string remotename, System.IO.Stream stream)