|
|
@ -83,8 +83,8 @@ int DetectHttpMethodMatch(ThreadVars *t, DetectEngineThreadCtx *det_ctx,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SCMutexLock(&f->m);
|
|
|
|
SCMutexLock(&f->m);
|
|
|
|
for ( idx = hs->new_in_tx_index;
|
|
|
|
for (idx = hs->new_in_tx_index;
|
|
|
|
idx < list_size(hs->connp->conn->transactions); idx++)
|
|
|
|
idx < list_size(hs->connp->conn->transactions); idx++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tx = list_get(hs->connp->conn->transactions, idx);
|
|
|
|
tx = list_get(hs->connp->conn->transactions, idx);
|
|
|
|
if (tx == NULL)
|
|
|
|
if (tx == NULL)
|
|
|
@ -107,6 +107,7 @@ int DetectHttpMethodMatch(ThreadVars *t, DetectEngineThreadCtx *det_ctx,
|
|
|
|
SCLogDebug("Matched raw HTTP method values.");
|
|
|
|
SCLogDebug("Matched raw HTTP method values.");
|
|
|
|
|
|
|
|
|
|
|
|
ret = 1;
|
|
|
|
ret = 1;
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|