From 4c84c6c808e5200670d4576f73d46a2f3fbf89af Mon Sep 17 00:00:00 2001 From: Fijxu Date: Fri, 21 Nov 2025 00:18:57 -0300 Subject: [PATCH] chore: set max_request_line_size to 16384 --- src/invidious/config.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/config.cr b/src/invidious/config.cr index c2d04e52..f0cc0596 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -194,7 +194,7 @@ class Config # Path and permissions to make Invidious listen on a UNIX socket instead of a TCP port property socket_binding : SocketBindingConfig? = nil # Maximum size of request line (in bytes), increase if you get 414 errors with long URLs - property max_request_line_size : Int32? = nil + property max_request_line_size : Int32 = 16384 # Pool size for HTTP requests to youtube.com and ytimg.com (each domain has a separate pool of `pool_size`) property pool_size : Int32 = 100 # HTTP Proxy configuration