smtp: remove defunct check for line with single LF

Don't fix it as DATA processing needs all the bytes.
pull/7488/head
Victor Julien 3 years ago
parent a2924b7141
commit 96bb67f474

@ -1124,11 +1124,6 @@ static int SMTPProcessRequest(SMTPState *state, Flow *f, AppLayerParserState *ps
SCEnter();
SMTPTransaction *tx = state->curr_tx;
/* Line with just LF */
if (line->len == 0 && input->consumed == 1 && line->delim_len == 0) {
return 0; // to continue processing further
}
if (state->curr_tx == NULL || (state->curr_tx->done && !NoNewTx(state, line))) {
tx = SMTPTransactionCreate();
if (tx == NULL)

Loading…
Cancel
Save