stream/app layer: call new Truncate callback for data gap case as well.

pull/45/head
Victor Julien 13 years ago
parent 869109a6a0
commit f93c54136c

@ -870,6 +870,9 @@ int AppLayerParse(void *local_data, Flow *f, uint8_t proto,
/* Do this check before calling AppLayerParse */
if (flags & STREAM_GAP) {
SCLogDebug("stream gap detected (missing packets), this is not yet supported.");
if (f->alstate != NULL)
AppLayerStreamTruncated(proto, f->alstate, flags);
goto error;
}

Loading…
Cancel
Save