fix: ws/wss's max_frame_size should > 0
This commit is contained in:
parent
fe303231cf
commit
5d3f464ec3
|
@ -885,7 +885,7 @@ fields("ws_opts") ->
|
||||||
)},
|
)},
|
||||||
{"max_frame_size",
|
{"max_frame_size",
|
||||||
sc(
|
sc(
|
||||||
hoconsc:union([infinity, integer()]),
|
hoconsc:union([infinity, pos_integer()]),
|
||||||
#{
|
#{
|
||||||
default => infinity,
|
default => infinity,
|
||||||
desc => ?DESC(fields_ws_opts_max_frame_size)
|
desc => ?DESC(fields_ws_opts_max_frame_size)
|
||||||
|
|
Loading…
Reference in New Issue