Skip to content

Commit

Permalink
Merge pull request #106356 from vseanreesermsft/internal-merge-8.0-20…
Browse files Browse the repository at this point in the history
…24-08-13-1056-3cca7adc-c909-4f7d-9281-3a16a17bdea9

Merging internal commits for release/8.0
  • Loading branch information
carlossanlop committed Aug 13, 2024
2 parents e4ec942 + 6bbdb7b commit ed13b35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libraries/Common/src/System/Net/TlsStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public override Task WriteAsync(byte[] buffer, int offset, int count, Cancellati
return _sslStream.WriteAsync(buffer, offset, count, cancellationToken);
}

public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = default(CancellationToken))
{
return _sslStream.WriteAsync(buffer, cancellationToken);
}

public override int Read(byte[] buffer, int offset, int size)
{
return _sslStream.Read(buffer, offset, size);
Expand Down

0 comments on commit ed13b35

Please sign in to comment.