-
Notifications
You must be signed in to change notification settings - Fork 1.5k
document early_request_filter #368
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
Conversation
Fix cloudflare#363 Signed-off-by: spacewander <[email protected]>
|
Other than the nit this LGTM. Thanks for helping with this! |
docs/user_guide/phase.md
Outdated
| ### `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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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]>
Fix #363 --- updated Includes-commit: 204ddb0 Includes-commit: 34c67f0 Replicated-from: #368 Signed-off-by: spacewander <[email protected]>
Fix #363 --- updated Includes-commit: 204ddb0 Includes-commit: 34c67f0 Replicated-from: #368 Signed-off-by: spacewander <[email protected]>
|
Synced thanks! |
Fix #363 --- updated Includes-commit: 204ddb02743445e6204858b4df3ea3f28fa1911c Includes-commit: 34c67f0acae52ce94a3a6d5696e0847e63b42be7 Replicated-from: cloudflare/pingora#368 Signed-off-by: spacewander <[email protected]>
Fix #363
Signed-off-by: spacewander [email protected]