-
Notifications
You must be signed in to change notification settings - Fork 305
Configuration Options for HTTP/1 Max Headers and Buffer Limits #6194
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
236d560
update hyper to 0.14.31
IvanGoncharov b66c3f2
Adds `supergraph.experimental_http1_max_headers` option
IvanGoncharov 03760c7
fix lint
IvanGoncharov 2d3e901
Merge branch 'dev' into i1g/max_headers
IvanGoncharov 1969f11
Add experimental_http1_max_buf_size
IvanGoncharov 987e0bb
fix format
IvanGoncharov 22b8239
Use tagged release on our organization
abernix e39447b
Merge branch 'dev' into i1g/max_headers
abernix e20fd0b
Merge branch 'dev' into i1g/max_headers
IvanGoncharov 1de4a55
remove duplication in Cargo.toml
IvanGoncharov 199fca0
fix lint
9d0115a
fix compile error
9344ef0
Update snapshot
c0bac69
fix tests
1491ac0
human-friendly config
67bdb1f
Add docs
941aa16
Add crate feature
f286960
review changes
1d0bf1f
add feature flag to xtask commands
6837adf
Apply suggestions from code review
IvanGoncharov e5c8bd0
Merge branch 'dev' into i1g/max_headers
IvanGoncharov 450b7e7
pass experimental_hyper_header_limits feature to xtask commands
IvanGoncharov 274f062
fix xtask build
IvanGoncharov 2d2c2bf
Merge branch 'dev' into i1g/max_headers
IvanGoncharov 725f510
Update snapshot
IvanGoncharov c445493
Add missing changeset
IvanGoncharov ac1b5ac
Fix tests failing without feature flag
IvanGoncharov c31ce67
Switch kb => kib in tests and docs
IvanGoncharov e44b154
Revert unwanted changes in Cargo.lock
IvanGoncharov bea7a96
Merge branch 'dev' into i1g/max_headers
IvanGoncharov 27ef7ab
Address review on changelog
IvanGoncharov 0d2709b
Drop experimental prefix
IvanGoncharov cdf4e19
experimental_hyper_header_limits => hyper_header_limits
IvanGoncharov bd686e5
fix CI after removing experimental_
IvanGoncharov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### Experimental Configuration Options for HTTP/1 Max Headers and Buffer Limits ([PR #6194](https://github.com/apollographql/router/pull/6194)) | ||
|
||
This update introduces experimental configuration options that allow you to adjust the maximum number of HTTP/1 request headers and the maximum buffer size allocated for headers. | ||
|
||
By default, the Router accepts HTTP/1 requests with up to 100 headers and allocates ~400kib of buffer space to store them. If you need to handle requests with more headers or require a different buffer size, you can now configure these limits in the Router's configuration file: | ||
```yaml | ||
limits: | ||
experimental_http1_request_max_headers: 200 | ||
experimental_http1_request_max_buf_size: 200kib | ||
``` | ||
|
||
By [@IvanGoncharov](https://github.com/IvanGoncharov) in https://github.com/apollographql/router/pull/6194 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.