Skip to content

Make response_body_filter async to support async operations #831

@rxdiscovery

Description

@rxdiscovery

Hello,

Currently, the response_body_filter in Pingora is synchronous. For consistency with other phases and to allow executing asynchronous code inside the filter, it should also be made async.

This change would enable:

  • Uniform async handling across all processing phases.
  • Execution of async operations (e.g., I/O, DB calls) within response_body_filter.

It would improve both flexibility and consistency of the request/response pipeline.

Thank you for considering this improvement..

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions