-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(client-control): set client_max_body_size dynamically #4423
Conversation
Signed-off-by: spacewander <[email protected]>
conf/config-default.yaml
Outdated
@@ -243,6 +243,7 @@ graphql: | |||
#cmd: ["ls", "-l"] | |||
|
|||
plugins: # plugin list (sorted by priority) | |||
- client-control # priority: 22000 |
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.
Keep the comment with same indent?
@@ -0,0 +1,104 @@ | |||
--- | |||
title: ext-plugin-pre-req |
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.
bad title.
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.
@tokers
Updated.
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.
Logics are hard for me, only check the documentation :)
Signed-off-by: spacewander <[email protected]>
t/plugin/client-control.t
Outdated
}, | ||
"plugins": { | ||
"client-control": { | ||
"max_body_size": 5 |
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.
It seems that the configuration doesn't match the title (0
means no limit).
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.
@tokers
Updated.
Signed-off-by: spacewander <[email protected]>
Signed-off-by: spacewander [email protected]
What this PR does / why we need it:
Pre-submission checklist: