React to hosting FeatureCollection change.
This commit is contained in:
parent
4400ab4124
commit
cecd42dfcd
|
|
@ -77,7 +77,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
||||||
internal FeatureContext(RequestContext requestContext, bool enableResponseCaching)
|
internal FeatureContext(RequestContext requestContext, bool enableResponseCaching)
|
||||||
{
|
{
|
||||||
_requestContext = requestContext;
|
_requestContext = requestContext;
|
||||||
_features = new StandardFeatureCollection(this);
|
_features = new FeatureCollection(new StandardFeatureCollection(this));
|
||||||
_authHandler = new AuthenticationHandler(requestContext);
|
_authHandler = new AuthenticationHandler(requestContext);
|
||||||
_enableResponseCaching = enableResponseCaching;
|
_enableResponseCaching = enableResponseCaching;
|
||||||
requestContext.Response.OnStarting(OnStartDelegate, this);
|
requestContext.Response.OnStarting(OnStartDelegate, this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue