我正在制作 CLI 脚本来添加两个属性(max-post-size、max-save-post-size),http connector
所以它应该看起来像:
<connector name="http" protocol="HTTP/1.1" scheme="http" max-post-size="5120000000" max-save-post-size="1024000000" socket-binding="http"/>
我的命令是:
/subsystem=web/connector=https:add(socket-binding=http,scheme=http,protocol="HTTP/1.1",max-post-size=5120000000, max-save-post-size=1024000000)
但它给了我
"failure-description" => "JBAS014688: Wrong type for max-post-size. Expected [INT] but was STRING",
所以我真的很困惑如何在 CLI 中声明整数,我尝试了max-post-size=[5120000000]
,max-save-post-size=[1024000000]
但它不起作用