ソースを参照

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

release/3.x.x
Christian Kratky 5年前
コミット
30c33d46f9
2個のファイルの変更2行の追加1行の削除
  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 ファイルの表示

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

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



+ 1
- 1
Source/MQTTnet/Implementations/MqttTcpChannel.cs ファイルの表示

@@ -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
{


読み込み中…
キャンセル
保存