You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when the buffer length is < 6, None is returned. Instead, the parser should return the minimum number of bytes needed to progress, similar to nom's Err::Incomplete variant.
The text was updated successfully, but these errors were encountered:
Thanks! Yes, the current parser I think can be greatly improved. I have a somewhat lower-level parser which I prototyped (see protocol::BufferHeadContents in the lkolbly/parse-buffer branch). Once we have a better handle on dealing with multiple protocol versions, I think this'll be the next thing I look at.
Currently, when the buffer length is < 6,
None
is returned. Instead, the parser should return the minimum number of bytes needed to progress, similar tonom
'sErr::Incomplete
variant.The text was updated successfully, but these errors were encountered: