]> git.ipfire.org Git - people/ms/suricata.git/commit - rust/src/rfb/rfb.rs
rfb: Update incomplete handling in parser.
authorfrank honza <frank.honza@dcso.de>
Tue, 14 Apr 2020 10:04:13 +0000 (12:04 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 24 Apr 2020 09:09:48 +0000 (11:09 +0200)
commitbbe9137f2072d4f8e4fe2dd9b709346bf7d8c60a
tree3c6b3a244b8475cfca930754bf126b3919c6918a
parentd955acc01cc0ce7bd5bf04b0e36a96fb55ee56f5
rfb: Update incomplete handling in parser.

This commit adds an updated incomplete handling for the RFB-Parser. If
incomplete data is processed, the successfully consumed position and
length of remainder + 1 is returned. If the next packet is not empty
suricata will call the parser again.

This commit is a result of discussion on https://github.com/OISF/suricata/pull/4792.
rust/src/rfb/rfb.rs