Improved split Request to headers and body phase, use apr_brigade to deal with request body - #29
chaizhenhua wants to merge 11 commits into
Conversation
…d modsecProcessRequestBody
|
Thanks for the patch. I will apply and run some tests. |
|
Just doing some tests. I'm trying to upload file (+500Kb) and it is not working. Only very small files can be uploaded. Can you check? Also when i add this rule: I saw the message: |
|
hi, nginx use nonblocking event driven io module, so we cant read request/response body directly in processing phase. |
|
The error has been fixed with patch |
|
Hello, The patch looks fine. Could you merge it again to the trunk ? Trunk is a different (2.7.2) and it will fail to merge. Maybe submit a new pull ? Thanks Breno |
|
Hi, Breno |
|
Hello, Just tested the new trunk with your patch and when SecRuleEngine On and a rule like SecRule REQUEST_BODY "price" "phase:2,id:113,deny" it is not blocking the transaction anymore ad return 403. Could you take a look ? Thanks Breno |
Added response Headers/Body phase.