Skip to content

HostingRequestStartingLog shouldn't capture HttpRequest for its values #10556

@benaadams

Description

@benaadams

HostingRequestStartingLog captures HttpRequest for its values and resolves them from that.

If the logging happens lazily/out-of-line with the request (ConsoleLogger for example queues them) then the logging can happen outside of the request and the values be incorrect or reading them cause a race condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-hostingIncludes Hostingarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions