You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Connection/WSConnector.cs
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
*/
17
17
18
18
//! Uncomment to enable message debugging
19
-
//#define ENABLE_MESSAGE_DEBUGGING
19
+
//#define ENABLE_MESSAGE_DEBUGGING
20
20
21
21
usingIBM.Cloud.SDK.Logging;
22
22
usingIBM.Cloud.SDK.Utilities;
@@ -255,6 +255,7 @@ public static string FixupURL(string URL)
255
255
// platforms.
256
256
elseif(URL.StartsWith("https://stream-tls10."))
257
257
{
258
+
Log.Warning("WSConnector","Deprecated: Support for TLS 1.0 will be removed in the next major release of the SDK. Update to Unity version 2018.2 or later to support TLS 1.2.");
@@ -283,7 +284,7 @@ public static string FixupURL(string URL)
283
284
Log.Warning("WSConnector","No case for URL for wss://. Replacing https:// with wss://.");
284
285
}
285
286
#else
286
-
// Use TLS 1.0 endpoint if user is on .NET 3.5. US South is the
287
+
// Use TLS 1.0 endpoint if user is on .NET 3.5. US South is the
287
288
// only region that supports this endpoint.
288
289
if(URL.StartsWith("https://stream."))
289
290
{
@@ -305,10 +306,12 @@ public static string FixupURL(string URL)
305
306
// US South is the only region that supports this endpoint.
306
307
if(URL.StartsWith("https://stream."))
307
308
{
309
+
Log.Warning("WSConnector","Deprecated: Support for TLS 1.0 will be removed in the next major release of the SDK. Update to Unity version 2018.2 or later to support TLS 1.2.");
Log.Warning("WSConnector","Deprecated: Support for TLS 1.0 will be removed in the next major release of the SDK. Update to Unity version 2018.2 or later to support TLS 1.2.");
0 commit comments