smtp: remove defunct check for line with single LF

Don't fix it as DATA processing needs all the bytes.

(cherry picked from commit 96bb67f474)
pull/7493/head
Victor Julien 4 years ago
parent 45083caf81
commit ca3be76e23

@ -1039,12 +1039,6 @@ static int SMTPProcessRequest(SMTPState *state, Flow *f,
SCEnter();
SMTPTransaction *tx = state->curr_tx;
/* Line with just LF */
if (state->current_line_len == 0 && state->consumed == 1 &&
state->current_line_delimiter_len == 0) {
return 0; // to continue processing further
}
if (state->curr_tx == NULL || (state->curr_tx->done && !NoNewTx(state))) {
tx = SMTPTransactionCreate();
if (tx == NULL)

Loading…
Cancel
Save