Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Commit adcd033

Browse files
authored
Merge pull request #141 from Azure/revert-134-master
Revert "Added TLS1.2 for Azure Table"
2 parents 7b156bf + ec403a0 commit adcd033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AzureTable/Microsoft.DataTransfer.AzureTable/Source/AzureTableSourceAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sealed class AzureTableSourceAdapter : IDataSourceAdapter
2828
public AzureTableSourceAdapter(IAzureTableSourceAdapterInstanceConfiguration configuration)
2929
{
3030
this.configuration = configuration;
31-
System.Net.ServicePointManager.SecurityProtocol |= System.Net.SecurityProtocolType.Tls12;
31+
3232
string connectionString = System.Text.RegularExpressions.Regex.Replace(
3333
configuration.ConnectionString, @"(TableEndpoint=https://)(.*\.)(documents)(\.azure\.com)",
3434
m => m.Groups[1].Value + m.Groups[2].Value + "table.cosmosdb" + m.Groups[4].Value);

0 commit comments

Comments
 (0)