mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 19:58:57 +08:00
Fixed an TLS issue in the MqttClientOptionsBuilder; Fix a subscription issue in the managed client.
This commit is contained in:
@@ -119,11 +119,11 @@ namespace MQTTnet.Client
|
||||
|
||||
if (_tcpOptions != null)
|
||||
{
|
||||
_options.ChannelOptions = _tcpOptions;
|
||||
_tcpOptions.TlsOptions = _tlsOptions;
|
||||
}
|
||||
else
|
||||
else if (_webSocketOptions != null)
|
||||
{
|
||||
_options.ChannelOptions = _webSocketOptions;
|
||||
_webSocketOptions.TlsOptions = _tlsOptions;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user