|
@@ -102,7 +102,7 @@ namespace MQTTnet.Implementations |
|
|
|
|
|
|
|
|
do |
|
|
do |
|
|
{ |
|
|
{ |
|
|
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes); |
|
|
|
|
|
|
|
|
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes).ConfigureAwait(false); |
|
|
|
|
|
|
|
|
if (read == 0) |
|
|
if (read == 0) |
|
|
{ |
|
|
{ |
|
|