fix(stomp): fix parsing rear frame split byte crash
fix: https://github.com/emqx/emqx/issues/6693
This commit is contained in:
parent
43442577ae
commit
9aa178b51d
|
@ -121,7 +121,7 @@ g(Key, Opts, Val) ->
|
|||
parse(<<>>, Parser) ->
|
||||
{more, Parser};
|
||||
|
||||
parse(Bytes, #{phase := body, len := Len, state := State}) ->
|
||||
parse(Bytes, #{phase := body, length := Len, state := State}) ->
|
||||
parse(body, Bytes, State, Len);
|
||||
|
||||
parse(Bytes, Parser = #{pre := Pre}) ->
|
||||
|
|
Loading…
Reference in New Issue