fix 修复 undertow 新版本无法上传大文件问题

This commit is contained in:
疯狂的狮子Li
2026-02-26 13:43:20 +08:00
parent 24b3fc686f
commit 87fe115677
3 changed files with 13 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ server:
# undertow 配置
undertow:
# HTTP post内容的最大大小。当值为-1时默认值为大小是无限的
max-http-post-size: -1
max-http-post-size: 1GB
# 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理
# 每块buffer的空间大小,越小的空间被利用越充分
buffer-size: 512