Skip to content

Conversation

@spacewander
Copy link
Contributor

Fix #363
Signed-off-by: spacewander [email protected]

@eaufavor eaufavor added the documentation Improvements or additions to documentation label Aug 30, 2024
@drcaramelsyrup
Copy link
Collaborator

Other than the nit this LGTM. Thanks for helping with this!

### `early_request_filter()`
This is the first phase of every request.

This function is similar to `request_filter()` but execute before any other logic especially the downstream modules.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, I think putting the full purpose here too is helpful: executes before any other logic, including downstream module logic. The main purpose of this function is to provide finer-grained control of the behavior of the modules.

I know the wording is slightly different from the doc comment, we can get that cleaned up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drcaramelsyrup
updated

Signed-off-by: spacewander <[email protected]>
@drcaramelsyrup drcaramelsyrup self-assigned this Sep 5, 2024
@drcaramelsyrup drcaramelsyrup added the Accepted This change is accepted by us and merged to our internal repo label Sep 9, 2024
gdavidsson pushed a commit that referenced this pull request Sep 13, 2024
Fix #363
---
updated

Includes-commit: 204ddb0
Includes-commit: 34c67f0
Replicated-from: #368
Signed-off-by: spacewander <[email protected]>
gdavidsson pushed a commit that referenced this pull request Sep 13, 2024
Fix #363
---
updated

Includes-commit: 204ddb0
Includes-commit: 34c67f0
Replicated-from: #368
Signed-off-by: spacewander <[email protected]>
@eaufavor
Copy link
Contributor

Synced thanks!

@eaufavor eaufavor closed this Sep 24, 2024
xxargonaut added a commit to xxargonaut/pingora that referenced this pull request Feb 19, 2025
Fix #363
---
updated

Includes-commit: 204ddb02743445e6204858b4df3ea3f28fa1911c
Includes-commit: 34c67f0acae52ce94a3a6d5696e0847e63b42be7
Replicated-from: cloudflare/pingora#368
Signed-off-by: spacewander <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted This change is accepted by us and merged to our internal repo documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

early_request_filter is not documented in https://github.com/cloudflare/pingora/blob/main/docs/user_guide/phase.md

3 participants