fix(stomp): fix parsing rear frame split byte crash

This commit is contained in:
JianBo He 2022-01-11 15:04:32 +08:00
parent e9e559ccd0
commit 4ce11fec6e
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,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}) ->