From bdadc8a3dace276ecb1a65d4ea49caafa7c97fb3 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Wed, 28 Oct 2015 22:44:35 +0000 Subject: [PATCH] Move comment into loop, remove noop --- src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs index 5b7678e48f..8f1c804926 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs @@ -198,10 +198,9 @@ namespace Microsoft.AspNet.Server.Kestrel.Http await ProduceEnd(); - // Finish reading the request body in case the app did not. while (await RequestBody.ReadAsync(_nullBuffer, 0, _nullBuffer.Length) != 0) { - ; + // Finish reading the request body in case the app did not. } }