Skip to content

Gracefully handle removal of critical headers by filters #13756

@yanavlasov

Description

@yanavlasov

It happened on several occasions that buggy filters modify or remove headers critical to Envoy's internals (or other filters in the chain). Envoy should check if required request or response headers are still present and valid after invoking filter's decodeHeaders() or encodeHeaders() method. If a filter has modified or deleted critical header the request should be aborted with 500 response.

Critical request header are:

  • :host

Critical response headers are:

  • :status

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/httpenhancementFeature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions