From f5edf7f9a8a8bae7c271e3add2199e377c00d53b Mon Sep 17 00:00:00 2001 From: Jim Schaad Date: Fri, 7 Feb 2020 10:52:17 -0800 Subject: [PATCH] Resoter reliability layer for DTLS on the server side Accidently removed when doing the TLS endpoints. --- CoAP.NET/CoAP.Std10.csproj | 1 + CoAP.NET/DTLS/DTLSEndPoint.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CoAP.NET/CoAP.Std10.csproj b/CoAP.NET/CoAP.Std10.csproj index 40cb70a..c6a3a5b 100644 --- a/CoAP.NET/CoAP.Std10.csproj +++ b/CoAP.NET/CoAP.Std10.csproj @@ -24,6 +24,7 @@ It is intented primarily for research and verification work. 1.7 - Remove the media types that had been previously marked as obsolete. + - Restore the incorrect removal of reliability for DTLS on the server side. - Internal cleanup work. 1.6 - Use cache key fields for matching blockwise transfers. diff --git a/CoAP.NET/DTLS/DTLSEndPoint.cs b/CoAP.NET/DTLS/DTLSEndPoint.cs index 49403c3..58d604d 100644 --- a/CoAP.NET/DTLS/DTLSEndPoint.cs +++ b/CoAP.NET/DTLS/DTLSEndPoint.cs @@ -48,7 +48,7 @@ public DTLSEndPoint(TlsKeyPairSet keysServer, KeySet keysUser, System.Net.EndPoi /// Configuration interface public DTLSEndPoint(DTLSChannel channel, ICoapConfig config) : base(channel, config) { - Stack.Remove(Stack.Get("Reliability")); + // Stack.Remove(Stack.Get("Reliability")); MessageEncoder = UdpCoapMesageEncoder; MessageDecoder = UdpCoapMessageDecoder; EndpointSchema = new []{"coaps", "coaps+udp"};