Http post size has limited for default by tomcat. If you want to support large file. Please set relative config in application.properties, such as server.tomcat.max-swallow-size=-1 .
But this is not suggested. It is suggested to split config to muiltple configs.
5条答案
按热度按时间vs3odd8k1#
I tested the official demo and found the same issue. Does nacos not support large file push
n53p2ov02#
Http post size has limited for default by tomcat. If you want to support large file. Please set relative config in application.properties, such as
server.tomcat.max-swallow-size=-1
.But this is not suggested. It is suggested to split config to muiltple configs.
o2rvlv0m3#
application.properties:
server.tomcat.max-http-form-post-size=-1
server.tomcat.max-swallow-size=-1
qvtsj1bj4#
设置了两个参数,但是目前看通过api和web都是不支持的
brtdzjyr5#
erties, such as
server.tomcat.max-swallow-size=-1
.这个和版本有关系么,我这用的版本比较老1.3.2,我看naocs 1.3.2 的springboot里面是2.1.1的,这参数是2.3.3 支持的,和这个有关系么