From 2cdd659e673b8df2d4e73ec84a13d463174061e7 Mon Sep 17 00:00:00 2001 From: Master T Date: Wed, 18 Nov 2015 05:11:57 +0100 Subject: [PATCH] Fix indentation --- .../Http/Frame.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs index 7f1c9767fb..7c5d1ed35b 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs @@ -278,7 +278,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http // If _requestAbort is set, the connection has already been closed. if (!_requestAborted) { - await ProduceEnd(); + await ProduceEnd(); // Finish reading the request body in case the app did not. await messageBody.Consume(); @@ -307,15 +307,15 @@ namespace Microsoft.AspNet.Server.Kestrel.Http // If _requestAborted is set, the connection has already been closed. if (!_requestAborted) { - // Inform client no more data will ever arrive - ConnectionControl.End(ProduceEndType.SocketShutdownSend); + // Inform client no more data will ever arrive + ConnectionControl.End(ProduceEndType.SocketShutdownSend); - // Wait for client to either disconnect or send unexpected data - await SocketInput; + // Wait for client to either disconnect or send unexpected data + await SocketInput; - // Dispose socket - ConnectionControl.End(ProduceEndType.SocketDisconnect); - } + // Dispose socket + ConnectionControl.End(ProduceEndType.SocketDisconnect); + } } catch (Exception ex) {