Skip to content

Commit

Permalink
[#165] Possible incompatibility with .NET 5.0
Browse files Browse the repository at this point in the history
The SslStream starts calling the inner stream's Flush method in some cases. Removed the exception since everything has been sent to the transport already.
  • Loading branch information
xinchen10 authored Aug 17, 2020
1 parent d63e370 commit 709eafd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Transport/TransportStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public override long Position

public override void Flush()
{
throw new InvalidOperationException();
}

public override int Read(byte[] buffer, int offset, int count)
Expand Down

0 comments on commit 709eafd

Please sign in to comment.