Set Kemal max_request_line_size to 16384 for large channel continuation query parameters.#5566
Merged
unixfox merged 2 commits intoiv-org:masterfrom Dec 15, 2025
Merged
Conversation
This commit adds a new configuration option `max_request_line_size` that allows users to increase the HTTP request line size limit. This is particularly useful for handling very long continuation tokens that can cause 414 (URI Too Long) errors. Changes: - Add `max_request_line_size` property to Config class - Configure Kemal server to use the custom limit if specified - Document the option in config.example.yml with recommendations - Add examples in docker-compose.yml for both YAML and env var configuration The default behavior remains unchanged (8KB limit) unless explicitly configured. This provides a solution for users experiencing 414 errors without affecting existing installations.
Fijxu
added a commit
to iv-org/documentation
that referenced
this pull request
Dec 14, 2025
…parameters. Required for NGINX webservers. iv-org/invidious#5566
unixfox
added a commit
that referenced
this pull request
Feb 7, 2026
Co-authored-by: Fijxu <fijxu@nadeko.net>
unixfox
added a commit
that referenced
this pull request
Feb 7, 2026
* Release v2.20260207.0 * Fix release notes for Crystal/OpenSSL * fix comment about pr #5566, #5338 Co-authored-by: Fijxu <fijxu@nadeko.net> * fix comment about memory leaks Co-authored-by: Fijxu <fijxu@nadeko.net> * Clarify release notes for proxy header stripping --------- Co-authored-by: Fijxu <fijxu@nadeko.net>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Supersedes #5394
Fixes #5529