fix: ws/wss's max_frame_size should > 0
This commit is contained in:
parent
c7f4e85760
commit
b4cffc581b
|
@ -890,7 +890,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