You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be related to #1224 , but I've got it enabled, so it must've been something else.
The var increment is "skipping". UPDATE_COUNTER is updated normally (internal var), while user-defined thevar isn't incrementing as it should. It works totally fine when requests are sent in series (ab -c 1)
The variable values computation in between the different threads are made by random factor after each request. Increase a counter is ok, but, it will not represent the total amount of requests and the value will be different for each thread/worker/process. Having said that, checking the counter value needs to consider this factor.
What are you talking about? There's a global lock around those operations, they were supposed to be atomic.
Secondly, why on earth is IP collection incrementing atomically as expected while RESOURCE is not? What's so special about it?
This may be related to #1224 , but I've got it enabled, so it must've been something else.
The var increment is "skipping".
UPDATE_COUNTER
is updated normally (internal var), while user-definedthevar
isn't incrementing as it should. It works totally fine when requests are sent in series (ab -c 1
)The ruleset:
Compile flags:
ea-apache24-mod_security2-2.9.3-5 cpanel-sourced, but I've added
--enable-collection-global-lock
as you see.The text was updated successfully, but these errors were encountered: