From 061aaa18a12ab240eb6b4a575700dda396329f5c Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 31 Jan 2025 18:03:15 +0100 Subject: [PATCH] httpd: Increase MAX_BLOB_SIZE to 10 MB --- radicle-httpd/src/raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-httpd/src/raw.rs b/radicle-httpd/src/raw.rs index 256b8bce1..3fd6d401f 100644 --- a/radicle-httpd/src/raw.rs +++ b/radicle-httpd/src/raw.rs @@ -17,7 +17,7 @@ use crate::api::query::RawQuery; use crate::axum_extra::Path; use crate::error::RawError as Error; -const MAX_BLOB_SIZE: usize = 4_194_304; +const MAX_BLOB_SIZE: usize = 10_485_760; static MIMES: &[(&str, &str)] = &[ ("3gp", "video/3gpp"),