fix: ws/wss's max_frame_size should > 0

This commit is contained in:
zhongwencool 2024-06-12 14:41:34 +08:00
parent fe303231cf
commit 5d3f464ec3
1 changed files with 1 additions and 1 deletions

View File

@ -885,7 +885,7 @@ fields("ws_opts") ->
)},
{"max_frame_size",
sc(
hoconsc:union([infinity, integer()]),
hoconsc:union([infinity, pos_integer()]),
#{
default => infinity,
desc => ?DESC(fields_ws_opts_max_frame_size)