diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/SocketOutput.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/SocketOutput.cs index ef74217d12d2..2017b1297bb5 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/SocketOutput.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Http/SocketOutput.cs @@ -89,7 +89,7 @@ public async Task WriteAsync( ChunkWriter.WriteBeginChunkBytes(ref writableBuffer, buffer.Count); } - writableBuffer.Write(buffer); + writableBuffer.WriteFast(buffer); if (chunk) {