Skip to content

Poison the HttpContext after it's disposed by the HttpContextFactory #3586

@davidfowl

Description

@davidfowl

The default HttpContextFactory should poison the HttpContext so that it throws ObjectDisposedException if the feature collection is accessed after the request is over. We'd do this by setting a feature collection that just throws on GetFeature

Related to #3581

cc @Tratcher

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: DesignThis issue requires design work before implementating.area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-http-abstractions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions