Merge branch '2.7.x' into 3.0.x

Closes gh-38150
This commit is contained in:
Andy Wilkinson
2023-10-31 11:50:18 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ public class ReactiveMultipartAutoConfiguration {
.asInt(DataSize::toBytes)
.to(defaultPartHttpMessageReader::setMaxHeadersSize);
map.from(multipartProperties::getMaxDiskUsagePerPart)
.asInt(DataSize::toBytes)
.as(DataSize::toBytes)
.to(defaultPartHttpMessageReader::setMaxDiskUsagePerPart);
map.from(multipartProperties::getMaxParts).to(defaultPartHttpMessageReader::setMaxParts);
map.from(multipartProperties::getFileStorageDirectory)