Ver a proveniência

Merge remote-tracking branch 'origin/develop' into develop

release/3.x.x
Christian Kratky há 5 anos
ascendente
cometimento
30c33d46f9
2 ficheiros alterados com 2 adições e 1 eliminações
  1. +1
    -0
      Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs
  2. +1
    -1
      Source/MQTTnet/Implementations/MqttTcpChannel.cs

+ 1
- 0
Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs Ver ficheiro

@@ -252,6 +252,7 @@ namespace MQTTnet.Extensions.ManagedClient
_maintainConnectionTask = null;
}

_messageQueueLock.Dispose();
_mqttClient.Dispose();
}



+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.cs Ver ficheiro

@@ -86,7 +86,7 @@ namespace MQTTnet.Implementations
var sslStream = new SslStream(networkStream, false, InternalUserCertificateValidationCallback);
_stream = sslStream;

await sslStream.AuthenticateAsClientAsync(_options.Server, LoadCertificates(), _options.TlsOptions.SslProtocol, _options.TlsOptions.IgnoreCertificateRevocationErrors).ConfigureAwait(false);
await sslStream.AuthenticateAsClientAsync(_options.Server, LoadCertificates(), _options.TlsOptions.SslProtocol, !_options.TlsOptions.IgnoreCertificateRevocationErrors).ConfigureAwait(false);
}
else
{


Carregando…
Cancelar
Guardar