Browse Source

use buffered receive stream

release/3.x.x
Eggers Jan 7 years ago
parent
commit
27bb22de09
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      MQTTnet.Core/Adapter/MqttChannelCommunicationAdapter.cs

+ 1
- 1
MQTTnet.Core/Adapter/MqttChannelCommunicationAdapter.cs View File

@@ -65,7 +65,7 @@ namespace MQTTnet.Core.Adapter
} }
else else
{ {
tuple = await ReceiveAsync(_channel.RawStream).ConfigureAwait(false);
tuple = await ReceiveAsync(_channel.ReceiveStream).ConfigureAwait(false);
} }


var packet = PacketSerializer.Deserialize(tuple.Item1, tuple.Item2); var packet = PacketSerializer.Deserialize(tuple.Item1, tuple.Item2);


Loading…
Cancel
Save