From a1e4e022b9550c04d5945159aad16c2ccb0b0729 Mon Sep 17 00:00:00 2001 From: Troy Dai Date: Thu, 15 Oct 2015 14:51:55 -0700 Subject: [PATCH] Clean up --- src/Microsoft.AspNet.Server.Kestrel/Http/Connection.cs | 1 - src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs | 1 - src/Microsoft.AspNet.Server.Kestrel/Http/Listener.cs | 2 +- src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs | 1 - src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs | 2 -- .../Infrastructure/MemoryPoolBlock2.cs | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/Connection.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/Connection.cs index f5a7033795..906faa9861 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/Connection.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/Connection.cs @@ -3,7 +3,6 @@ using System; using System.Threading; -using System.Threading.Tasks; using Microsoft.AspNet.Server.Kestrel.Filter; using Microsoft.AspNet.Server.Kestrel.Infrastructure; using Microsoft.AspNet.Server.Kestrel.Networking; diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs index 85ac78591b..4720aa40e5 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs @@ -22,7 +22,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Http public SocketInput SocketInput { get; set; } public ISocketOutput SocketOutput { get; set; } - public IConnectionControl ConnectionControl { get; set; } } } \ No newline at end of file diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/Listener.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/Listener.cs index 8c7e2b6c05..8cfba60cd0 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/Listener.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/Listener.cs @@ -1,9 +1,9 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using Microsoft.AspNet.Server.Kestrel.Networking; using System; using System.Threading.Tasks; +using Microsoft.AspNet.Server.Kestrel.Networking; using Microsoft.Extensions.Logging; namespace Microsoft.AspNet.Server.Kestrel.Http diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs index 9e5a8e50ed..79a096d4d4 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs @@ -3,7 +3,6 @@ using System; using System.Threading.Tasks; -using Microsoft.AspNet.Server.Kestrel.Filter; using Microsoft.AspNet.Server.Kestrel.Infrastructure; namespace Microsoft.AspNet.Server.Kestrel.Http diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs index d3af771f5d..86feca412b 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs @@ -1,8 +1,6 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -using System; -using System.Net; using Microsoft.AspNet.Server.Kestrel.Infrastructure; using Microsoft.AspNet.Server.Kestrel.Networking; using Microsoft.Extensions.Logging; diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolBlock2.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolBlock2.cs index 6e7aadfa26..a93e03186d 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolBlock2.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/MemoryPoolBlock2.cs @@ -66,7 +66,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Infrastructure /// public int End { get; set; } - /// /// Reference to the next block of data when the overall "active" bytes spans multiple blocks. At the point when the block is /// leased Next is guaranteed to be null. Start, End, and Next are used together in order to create a linked-list of discontiguous