Merge branch 'configurable-max-request-line-size'

From https://github.com/iv-org/invidious/pull/5394
This commit is contained in:
Fijxu
2025-11-21 00:17:12 -03:00
3 changed files with 21 additions and 0 deletions

View File

@@ -192,6 +192,20 @@ https_only: false
# path: /tmp/invidious.sock
# permissions: 777
##
## Maximum size of the HTTP request line (in bytes).
## Increase this value if you encounter 414 errors when using URLs with long
## query parameters (e.g., very long continuation tokens).
##
## Note: This directly sets the HTTP server's max_request_line_size.
## Be cautious when increasing this value on public instances.
##
## Accepted values: integer (size in bytes)
## Default: 8192 (8KB, Crystal's default)
## Recommended: 16384 (16KB) if experiencing 414 errors
##
#max_request_line_size: 16384
# -----------------------------
# Network (outbound)