From 2dc31546b64bbfb7e49ad71a64b957b41d24f2cb Mon Sep 17 00:00:00 2001 From: Chris R Date: Thu, 17 Dec 2015 09:19:25 -0800 Subject: [PATCH] #162 Remove an extra websocket reference. --- .../StandardFeatureCollection.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Microsoft.AspNet.Server.WebListener/StandardFeatureCollection.cs b/src/Microsoft.AspNet.Server.WebListener/StandardFeatureCollection.cs index f3f302a6b2..b00cfb6bb7 100644 --- a/src/Microsoft.AspNet.Server.WebListener/StandardFeatureCollection.cs +++ b/src/Microsoft.AspNet.Server.WebListener/StandardFeatureCollection.cs @@ -38,7 +38,9 @@ namespace Microsoft.AspNet.Server.WebListener { typeof(IHttpBufferingFeature), _identityFunc }, { typeof(IHttpRequestLifetimeFeature), _identityFunc }, { typeof(IHttpUpgradeFeature), _identityFunc }, +#if WEBSOCKETS { typeof(IHttpWebSocketFeature), _identityFunc }, +#endif { typeof(IHttpAuthenticationFeature), _identityFunc }, { typeof(IHttpRequestIdentifierFeature), _identityFunc }, { typeof(RequestContext), ctx => ctx.RequestContext },