Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion htp/htp_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,8 @@ int htp_connp_req_data(htp_connp_t *connp, const htp_time_t *timestamp, const vo
}

// Sanity check: we must have a transaction pointer if the state is not IDLE (no inbound transaction)
if ((connp->in_tx == NULL)&&(connp->in_state != htp_connp_REQ_IDLE)) {
if ((connp->in_tx == NULL)&&
(connp->in_state != htp_connp_REQ_IDLE && connp->in_state != htp_connp_REQ_IGNORE_DATA_AFTER_HTTP_0_9)) {
connp->in_status = HTP_STREAM_ERROR;

htp_log(connp, HTP_LOG_MARK, HTP_LOG_ERROR, 0, "Missing inbound transaction data");
Expand Down
Loading