React to `HttpContextFactory` constructor change

- remove unused field
- see pull aspnet/HttpAbstractions#594 and issue aspnet/HttpAbstractions#561
This commit is contained in:
Doug Bunting 2016-03-25 10:04:17 -07:00
parent 7c67a4a594
commit f0a5a01f6d
1 changed files with 2 additions and 5 deletions

View File

@ -18,8 +18,6 @@
using System; using System;
using Microsoft.AspNetCore.Hosting.Server; using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.AspNetCore.Server.Features; using Microsoft.AspNetCore.Server.Features;
using Microsoft.Net.Http.Server; using Microsoft.Net.Http.Server;
@ -34,7 +32,6 @@ namespace Microsoft.AspNetCore.Server.WebListener
private const int MaxPort = 8000; private const int MaxPort = 8000;
private static int NextPort = BasePort; private static int NextPort = BasePort;
private static object PortLock = new object(); private static object PortLock = new object();
private static IHttpContextFactory Factory = new HttpContextFactory(new HttpContextAccessor());
internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app) internal static IServer CreateHttpServer(out string baseAddress, RequestDelegate app)
{ {