Skip to content

Commit 2220db8

Browse files
committed
Adds more debug messages
1 parent 1ff2259 commit 2220db8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ngx_http_modsecurity_rewrite.c

+3
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ ngx_int_t ngx_http_modsecurity_rewrite_handler(ngx_http_request_t *r)
9898
* and try to use it later.
9999
*
100100
*/
101+
dd("Processing intervention with the connection information filled in");
101102
ret = ngx_http_modsecurity_process_intervention(ctx->modsec_transaction, r);
102103
if (ret > 0)
103104
{
@@ -112,6 +113,7 @@ ngx_int_t ngx_http_modsecurity_rewrite_handler(ngx_http_request_t *r)
112113
msc_process_uri(ctx->modsec_transaction, ngx_str_to_char(r->unparsed_uri, r->pool),
113114
ngx_str_to_char(r->method_name, r->pool), "1.0"
114115
);
116+
dd("Processing intervention with the transaction information filled in (uri, mothod and version)");
115117
ret = ngx_http_modsecurity_process_intervention(ctx->modsec_transaction, r);
116118
if (ret > 0)
117119
{
@@ -157,6 +159,7 @@ ngx_int_t ngx_http_modsecurity_rewrite_handler(ngx_http_request_t *r)
157159
*/
158160

159161
msc_process_request_headers(ctx->modsec_transaction);
162+
dd("Processing intervention with the request headers information filled in");
160163
ret = ngx_http_modsecurity_process_intervention(ctx->modsec_transaction, r);
161164
if (ret > 0)
162165
{

0 commit comments

Comments
 (0)