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

Add quarkus.servlet.max-parameters setting #15216

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

benkard
Copy link
Contributor

@benkard benkard commented Feb 20, 2021

This configures the MAX_PARAMETERS setting in Undertow, which defaults
to 1,000.

Makes use of the UndertowOptionsMap setter introduced in quarkus-http
commit 00223f28f17a246a3075b3f1ce38dc289976a641 and therefore depends on
quarkus-http 3.1.0.Beta2.

Fixes quarkusio/quarkus-http#63.

@quarkus-bot
Copy link

quarkus-bot bot commented Feb 20, 2021

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

title should not end up with dot

This message is automatically generated by a bot.

@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/undertow labels Feb 20, 2021
@benkard benkard changed the title Add quarkus.servlet.max-parameters setting. Add quarkus.servlet.max-parameters setting Feb 20, 2021
@benkard
Copy link
Contributor Author

benkard commented Feb 20, 2021

(The CI pipeline is expected to fail until quarkus-http 3.1.0.Beta2 is released.)

@machi1990 machi1990 requested review from stuartwdouglas and gsmet and removed request for stuartwdouglas February 21, 2021 15:42
@benkard
Copy link
Contributor Author

benkard commented Feb 22, 2021

A thought: Should the option be under a separate quarkus.servlet.limits group, similarly to how there is quarkus.http.limits?

gsmet
gsmet previously requested changes Feb 24, 2021
Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

This will need a squash before merging. Thanks!

I'll let @stuartwdouglas approve.

@benkard
Copy link
Contributor Author

benkard commented Feb 24, 2021

This will need a squash before merging. Thanks!

Done.

@benkard benkard requested a review from gsmet February 26, 2021 12:38
@benkard
Copy link
Contributor Author

benkard commented Mar 4, 2021

@gsmet I think your change request is still blocking the merge. Could you have a look, please? Thanks!

Base automatically changed from master to main March 12, 2021 15:55
@gsmet gsmet dismissed their stale review March 16, 2021 10:57

Comment addressed.

benkard and others added 2 commits March 16, 2021 11:58
This configures the MAX_PARAMETERS setting in Undertow, which defaults
to 1,000.

Makes use of the UndertowOptionsMap setter introduced in quarkus-http
commit 00223f28f17a246a3075b3f1ce38dc289976a641 and therefore depends on
quarkus-http 3.1.0.Beta2.

Fixes quarkusio/quarkus-http#63.
We have a default value so we should use an int.
@gsmet
Copy link
Member

gsmet commented Mar 16, 2021

I rebased and pushed a small additional commit to remove the use of Optional as we have a default value. Let's wait for CI and merge!

@gsmet gsmet added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Mar 16, 2021
@gsmet gsmet added this to the 1.13 - main milestone Mar 16, 2021
@gsmet gsmet merged commit f5ef977 into quarkusio:main Mar 16, 2021
@gsmet
Copy link
Member

gsmet commented Mar 16, 2021

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/undertow triage/waiting-for-ci Ready to merge when CI successfully finishes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to set MAX_PARAMETERS in Undertow
3 participants