From ed14514f3b735bfa6c3e0cbe91c9c5eefe514ba1 Mon Sep 17 00:00:00 2001 From: Ryan Gonzalez Date: Thu, 8 Dec 2022 08:39:09 -0600 Subject: [PATCH] Update Puma to fix chunked upload failures Older verisons of Puma had a bug where chunked uploads would result in an empty body: https://github.com/puma/puma/issues/1839 This breaks OBS file uploads that rely chunked transfers, which is generally the standard mechanism used by http clients for uploading large files. A fix was backported to 4.3.7: https://github.com/puma/puma/pull/2496 so this PR updates Puma to the latest 4.3.x release to include this fix. Likely fixes #9329. (Note that, if OBS is behind a reverse proxy, this issue may not be observed in the first place, as many reverse proxies will tend to buffer the uploaded data, thus side-stepping the use of chunked uploads entirely.) Signed-off-by: Ryan Gonzalez --- src/api/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/Gemfile.lock b/src/api/Gemfile.lock index 71e21b5170ba..9857f980556a 100644 --- a/src/api/Gemfile.lock +++ b/src/api/Gemfile.lock @@ -282,7 +282,7 @@ GEM byebug (~> 11.0) pry (~> 0.10) public_suffix (3.1.0) - puma (4.3.5) + puma (4.3.12) nio4r (~> 2.0) pundit (2.0.1) activesupport (>= 3.0.0)