cloudflare / cloudflare/pingora

Make response_body_filter async to support async operations

Open
#831 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
27.4k
Forks
1.7k
Avg merge
6h 22m
Merged PRs (30d)
3

Description

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..

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.