React to hosting FeatureCollection change.

This commit is contained in:
Chris R 2015-10-07 13:02:48 -07:00
parent 4400ab4124
commit cecd42dfcd
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ namespace Microsoft.AspNet.Server.WebListener
internal FeatureContext(RequestContext requestContext, bool enableResponseCaching)
{
_requestContext = requestContext;
_features = new StandardFeatureCollection(this);
_features = new FeatureCollection(new StandardFeatureCollection(this));
_authHandler = new AuthenticationHandler(requestContext);
_enableResponseCaching = enableResponseCaching;
requestContext.Response.OnStarting(OnStartDelegate, this);