Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document early_request_filter #368

Closed
wants to merge 2 commits into from
Closed

Conversation

spacewander
Copy link
Contributor

Fix #363
Signed-off-by: spacewander spacewanderlzx@gmail.com

Fix cloudflare#363
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
@eaufavor eaufavor added the documentation Improvements or additions to documentation label Aug 30, 2024
@drcaramelsyrup
Copy link
Contributor

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

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
Contributor

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 <spacewanderlzx@gmail.com>
@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 <spacewanderlzx@gmail.com>
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 <spacewanderlzx@gmail.com>
@eaufavor
Copy link
Member

Synced thanks!

@eaufavor eaufavor closed this Sep 24, 2024
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
3 participants