feat: Closes #290, implemented request body stream reading for PutObject and UploadPart actions.

This commit is contained in:
jonaustin09
2023-12-14 18:27:51 -08:00
committed by Ben McClelland
parent 90bb43f7c9
commit 27eb43d089
7 changed files with 134 additions and 18 deletions
+4 -3
View File
@@ -289,9 +289,10 @@ func runGateway(ctx context.Context, be backend.Backend) error {
}
app := fiber.New(fiber.Config{
AppName: "versitygw",
ServerHeader: "VERSITYGW",
BodyLimit: int(blimit),
AppName: "versitygw",
ServerHeader: "VERSITYGW",
BodyLimit: int(blimit),
StreamRequestBody: true,
})
var opts []s3api.Option