Commit 8bcdcea6 authored by Marc Gravell's avatar Marc Gravell

note if a SC is 0-read/0-write

parent ed4bcc2d
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Pipelines.Sockets.Unofficial" Version="0.2.1-alpha.75" /> <PackageReference Include="Pipelines.Sockets.Unofficial" Version="0.2.1-alpha.76" />
<PackageReference Include="System.Threading.Channels" Version="4.5.0" /> <PackageReference Include="System.Threading.Channels" Version="4.5.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>
\ No newline at end of file
...@@ -315,6 +315,8 @@ public Task FlushAsync() ...@@ -315,6 +315,8 @@ public Task FlushAsync()
{ {
exMessage.Append("/").Append(sc.SocketError); exMessage.Append("/").Append(sc.SocketError);
} }
if (sc.BytesRead == 0) exMessage.Append(", 0-read");
if (sc.BytesSent == 0) exMessage.Append(", 0-sent");
exMessage.Append(")"); exMessage.Append(")");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment