Skip to content

Commit 4b6ecea

Browse files
authored
doc: fix typo (#2432)
fix `algorithm` typo
1 parent 989420e commit 4b6ecea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Stream CreateCompressionStream(Stream stream, CompressionLevel? compressi
5353
{
5454
// As described in RFC 2616, the deflate content-coding is actually
5555
// the "zlib" format (RFC 1950) in combination with the "deflate"
56-
// compression algrithm (RFC 1951). So while potentially
56+
// compression algorithm (RFC 1951). So while potentially
5757
// counterintuitive based on naming, this needs to use ZLibStream
5858
// rather than DeflateStream.
5959
return new ZLibStream(stream, compressionLevel ?? _defaultCompressionLevel);
@@ -68,7 +68,7 @@ public Stream CreateDecompressionStream(Stream stream)
6868
{
6969
// As described in RFC 2616, the deflate content-coding is actually
7070
// the "zlib" format (RFC 1950) in combination with the "deflate"
71-
// compression algrithm (RFC 1951). So while potentially
71+
// compression algorithm (RFC 1951). So while potentially
7272
// counterintuitive based on naming, this needs to use ZLibStream
7373
// rather than DeflateStream.
7474
return new ZLibStream(stream, CompressionMode.Decompress);

0 commit comments

Comments
 (0)