Skip to content

Commit

Permalink
Link to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Feb 20, 2020
1 parent 2f86f3a commit 4fbabea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public Memory<byte> GetHeader(bool isCompressed, int length)
{
// TODO(JamesNK): We can optimize header allocation when IBufferWriter is being used.
// IBufferWriter can be used to provide a buffer, either before or after message content.
// https://github.com/grpc/grpc-dotnet/issues/784
var buffer = new byte[GrpcProtocolConstants.HeaderSize];

// Compression flag
Expand Down

0 comments on commit 4fbabea

Please sign in to comment.