Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream: fix depth reached detection #2279

Closed
wants to merge 1 commit into from

Conversation

regit
Copy link
Contributor

@regit regit commented Sep 25, 2016

When a segment only partially fit in streaming depth, the stream
depth reached flag was not set resulting in a continuous
inspection of the rest of the session.

By setting the stream depth reached flag when the segment partially
fit we avoid to reenter the code and we don't take anymore a code
path resulting in the flag not to be set.

This is a rework of #2215. Remark did lead to a simplified code.

Ticket with test case: https://redmine.openinfosecfoundation.org/issues/1898

PR builds:

When a segment only partially fit in streaming depth, the stream
depth reached flag was not set resulting in a continuous
inspection of the rest of the session.

By setting the stream depth reached flag when the segment partially
fit we avoid to reenter the code and we don't take anymore a code
path resulting in the flag not to be set.
@inliniac inliniac mentioned this pull request Sep 26, 2016
@inliniac
Copy link
Contributor

Merged through #2284, thanks Eric!

@inliniac inliniac closed this Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants