Skip to content

why is echo.Context used in middleware/body_limit.go? #2469

@imacks

Description

@imacks

Struct limitedReader has field context of type echo.Context, which gets associated with a request via its Reset method. Why do we need the context field at all? It doesn't look like limitedReader actually uses the context at all. Is there some GC related issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions