Merge pull request #44 from 1iveowl/master

Bug fixes v3
This commit is contained in:
Christian
2017-09-27 21:09:31 +02:00
committed by GitHub
10 changed files with 47 additions and 39 deletions
+1
View File
@@ -63,6 +63,7 @@ namespace MQTTnet.Core.Client
};
var response = await SendAndReceiveAsync<MqttConnAckPacket>(connectPacket).ConfigureAwait(false);
if (response.ConnectReturnCode != MqttConnectReturnCode.ConnectionAccepted)
{
throw new MqttConnectingFailedException(response.ConnectReturnCode);