mirror of
https://github.com/openappsec/attachment.git
synced 2025-06-28 16:41:03 +03:00
code sync
This commit is contained in:
parent
6a86b028fb
commit
d040d8ed3d
@ -187,7 +187,7 @@ ngx_add_event_id_to_header(ngx_http_request_t *request)
|
|||||||
{
|
{
|
||||||
u_char *uuid = (u_char *)get_web_response_uuid();
|
u_char *uuid = (u_char *)get_web_response_uuid();
|
||||||
ngx_uint_t uuid_size = get_web_response_uuid_size();
|
ngx_uint_t uuid_size = get_web_response_uuid_size();
|
||||||
static u_char uuid_key[] = { 'x', '_', 'e', 'v', 'e', 'n', 't', '_', 'i', 'd' };
|
static u_char uuid_key[] = { 'X', '-', 'E', 'v', 'e', 'n', 't', '-', 'I', 'D' };
|
||||||
|
|
||||||
write_dbg(
|
write_dbg(
|
||||||
DBG_LEVEL_WARNING,
|
DBG_LEVEL_WARNING,
|
||||||
|
@ -846,7 +846,7 @@ ngx_http_cp_res_header_filter(ngx_http_request_t *request)
|
|||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
handle_inspection_success(session_data_p);
|
handle_inspection_success(session_data_p);
|
||||||
return ngx_http_next_response_header_filter(request);
|
return ngx_http_next_response_header_filter(request);
|
||||||
}
|
}
|
||||||
|
@ -406,7 +406,7 @@ create_modification_node(ngx_http_cp_inject_data_t *modification, ngx_http_reque
|
|||||||
Injection position: %d, \
|
Injection position: %d, \
|
||||||
Injection size: %d, \
|
Injection size: %d, \
|
||||||
Original buffer index: %d, \
|
Original buffer index: %d, \
|
||||||
Data: %s, \
|
Modification data: %s, \
|
||||||
Should change data: %d",
|
Should change data: %d",
|
||||||
modification_node->modification.is_header,
|
modification_node->modification.is_header,
|
||||||
modification_node->modification.injection_pos,
|
modification_node->modification.injection_pos,
|
||||||
@ -505,7 +505,7 @@ ngx_http_cp_reply_receiver(
|
|||||||
|
|
||||||
*verdict = reply_p->verdict;
|
*verdict = reply_p->verdict;
|
||||||
|
|
||||||
write_dbg(DBG_LEVEL_TRACE, "Verdict %d received", *verdict);
|
write_dbg(DBG_LEVEL_TRACE, "Verdict %d received, number of repiles left: %d", *verdict, *expected_replies);
|
||||||
|
|
||||||
switch(*verdict) {
|
switch(*verdict) {
|
||||||
case TRAFFIC_VERDICT_INJECT: {
|
case TRAFFIC_VERDICT_INJECT: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user