From df78b9c25bdf8d23f6e3b79fcc786d58fcd2695a Mon Sep 17 00:00:00 2001 From: noear Date: Wed, 6 Mar 2024 09:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=20http=20=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=83=BD=E6=B7=BB=E5=8A=A0=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __test/src/main/resources/app.yml | 1 + .../META-INF/solon/solon-configuration-metadata.json | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/__test/src/main/resources/app.yml b/__test/src/main/resources/app.yml index 7584e3dce2..edd744f67b 100644 --- a/__test/src/main/resources/app.yml +++ b/__test/src/main/resources/app.yml @@ -111,6 +111,7 @@ server: maxBodySize: 2mb maxFileSize: 2000mb maxHeaderSize: 200kb + useTempfile: true autoMultipart: false session: timeout: 7200 #单位秒;(可不配,默认:7200) diff --git a/solon-projects/solon-boot/solon.boot/src/main/resources/META-INF/solon/solon-configuration-metadata.json b/solon-projects/solon-boot/solon.boot/src/main/resources/META-INF/solon/solon-configuration-metadata.json index c45a748384..2f503ea47c 100644 --- a/solon-projects/solon-boot/solon.boot/src/main/resources/META-INF/solon/solon-configuration-metadata.json +++ b/solon-projects/solon-boot/solon.boot/src/main/resources/META-INF/solon/solon-configuration-metadata.json @@ -44,6 +44,12 @@ "type": "java.lang.String", "description": "设定最大的请求头大小" }, + { + "name": "server.request.useTempfile", + "type": "java.lang.Boolean", + "defaultValue": false, + "description": "设定使用上传临时文件" + }, { "name": "server.request.encoding", "type": "java.lang.String",