Fix indentation
This commit is contained in:
parent
592d802fde
commit
2cdd659e67
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue