Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Stream CreateCompressionStream(Stream stream, CompressionLevel? compressi
{
// As described in RFC 2616, the deflate content-coding is actually
// the "zlib" format (RFC 1950) in combination with the "deflate"
// compression algrithm (RFC 1951). So while potentially
// compression algorithm (RFC 1951). So while potentially
// counterintuitive based on naming, this needs to use ZLibStream
// rather than DeflateStream.
return new ZLibStream(stream, compressionLevel ?? _defaultCompressionLevel);
Expand All @@ -68,7 +68,7 @@ public Stream CreateDecompressionStream(Stream stream)
{
// As described in RFC 2616, the deflate content-coding is actually
// the "zlib" format (RFC 1950) in combination with the "deflate"
// compression algrithm (RFC 1951). So while potentially
// compression algorithm (RFC 1951). So while potentially
// counterintuitive based on naming, this needs to use ZLibStream
// rather than DeflateStream.
return new ZLibStream(stream, CompressionMode.Decompress);
Expand Down