From c9475adb041e0aa4a37937cd76907088a842dd0f Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Tue, 12 Sep 2023 16:16:45 -0700 Subject: [PATCH] fix: remove body limit for admin app The BodyLimit is needed for large PUTs in the s3 api server, but the admin server requests are not expected to exceed the default 4MB limit. --- cmd/versitygw/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/versitygw/main.go b/cmd/versitygw/main.go index 1590638d..519381ed 100644 --- a/cmd/versitygw/main.go +++ b/cmd/versitygw/main.go @@ -250,7 +250,6 @@ func runGateway(ctx *cli.Context, be backend.Backend, s auth.Storer) error { admApp := fiber.New(fiber.Config{ AppName: "versitygw", ServerHeader: "VERSITYGW", - BodyLimit: 5 * 1024 * 1024 * 1024, }) var admOpts []s3api.AdminOpt