Skip to content

Commit 6ec6bbb

Browse files
committed
Fixes after review
1 parent 38ec2e3 commit 6ec6bbb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ngx_http_modsecurity_module.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,9 @@ ngx_http_modsecurity_process_intervention (Transaction *transaction, ngx_http_re
157157

158158
if (msc_intervention(transaction, &intervention) == 0) {
159159
dd("nothing to do");
160-
add_headers(msc_get_additional_req_headers(transaction), r->pool, &(r->headers_in.headers));
161-
add_headers(msc_get_additional_resp_headers(transaction), r->pool, &(r->headers_out.headers));
162160
return 0;
163161
}
164162

165-
add_headers(msc_get_additional_req_headers(transaction), r->pool, &(r->headers_in.headers));
166-
add_headers(msc_get_additional_resp_headers(transaction), r->pool, &(r->headers_out.headers));
167-
168163
log = intervention.log;
169164
if (intervention.log == NULL) {
170165
log = "(no log message was specified)";

0 commit comments

Comments
 (0)