Skip to content

Lock-free per-request context #52

@rcrowley

Description

@rcrowley

WithContext and Context are unnecessarily globally synchronized. I think the solution is essentially an http.Handler that allocates an instance of another http.Handler (this is the type of the per-request context) and calls its ServeHTTP method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions