Fix indentation

This commit is contained in:
Master T 2015-11-18 05:11:57 +01:00
parent 592d802fde
commit 2cdd659e67
1 changed files with 8 additions and 8 deletions

View File

@ -278,7 +278,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
// If _requestAbort is set, the connection has already been closed. // If _requestAbort is set, the connection has already been closed.
if (!_requestAborted) if (!_requestAborted)
{ {
await ProduceEnd(); await ProduceEnd();
// Finish reading the request body in case the app did not. // Finish reading the request body in case the app did not.
await messageBody.Consume(); 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 is set, the connection has already been closed.
if (!_requestAborted) if (!_requestAborted)
{ {
// Inform client no more data will ever arrive // Inform client no more data will ever arrive
ConnectionControl.End(ProduceEndType.SocketShutdownSend); ConnectionControl.End(ProduceEndType.SocketShutdownSend);
// Wait for client to either disconnect or send unexpected data // Wait for client to either disconnect or send unexpected data
await SocketInput; await SocketInput;
// Dispose socket // Dispose socket
ConnectionControl.End(ProduceEndType.SocketDisconnect); ConnectionControl.End(ProduceEndType.SocketDisconnect);
} }
} }
catch (Exception ex) catch (Exception ex)
{ {