fix(stomp): fix parsing rear frame split byte crash
This commit is contained in:
parent
e9e559ccd0
commit
4ce11fec6e
|
@ -134,7 +134,7 @@ g(Key, Opts, Val) ->
|
||||||
parse(<<>>, Parser) ->
|
parse(<<>>, Parser) ->
|
||||||
{more, 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(body, Bytes, State, Len);
|
||||||
|
|
||||||
parse(Bytes, Parser = #{pre := Pre}) ->
|
parse(Bytes, Parser = #{pre := Pre}) ->
|
||||||
|
|
Loading…
Reference in New Issue