From b81312ebe6804d59bc6e1d8a9c1c43ebefb7c282 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 8 May 2024 19:27:13 +0800 Subject: [PATCH] doc: fix typo fix `algorithm` typo --- src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs b/src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs index ce5a8780e..fdf33fcdf 100644 --- a/src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs +++ b/src/Grpc.Net.Common/Compression/DeflateCompressionProvider.cs @@ -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); @@ -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);