SCLogError(SC_ERR_ALPARSER, "Inbound parser is in error state, no"
" need to feed data to libhtp");
SCReturnInt(-1);
+ } else if (hstate->connp->in_status == STREAM_STATE_TUNNEL) {
+ SCReturnInt(0);
}
/* Unset the body inspection (the callback should
SCLogError(SC_ERR_ALPARSER, "Outbound parser is in error state, no"
" need to feed data to libhtp");
SCReturnInt(-1);
+ } else if (hstate->connp->out_status == STREAM_STATE_TUNNEL) {
+ SCReturnInt(0);
}
/* Unset the body inspection (the callback should