diff --git a/attachments/nginx/ngx_module/ngx_cp_custom_response.c b/attachments/nginx/ngx_module/ngx_cp_custom_response.c index 944806b..7999c96 100644 --- a/attachments/nginx/ngx_module/ngx_cp_custom_response.c +++ b/attachments/nginx/ngx_module/ngx_cp_custom_response.c @@ -187,7 +187,7 @@ ngx_add_event_id_to_header(ngx_http_request_t *request) { u_char *uuid = (u_char *)get_web_response_uuid(); 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( DBG_LEVEL_WARNING, diff --git a/attachments/nginx/ngx_module/ngx_cp_hooks.c b/attachments/nginx/ngx_module/ngx_cp_hooks.c index e5f0537..5b6d6ed 100644 --- a/attachments/nginx/ngx_module/ngx_cp_hooks.c +++ b/attachments/nginx/ngx_module/ngx_cp_hooks.c @@ -846,7 +846,7 @@ ngx_http_cp_res_header_filter(ngx_http_request_t *request) return NGX_ERROR; } } - + handle_inspection_success(session_data_p); return ngx_http_next_response_header_filter(request); } diff --git a/attachments/nginx/ngx_module/ngx_cp_io.c b/attachments/nginx/ngx_module/ngx_cp_io.c index 666a955..3f049db 100644 --- a/attachments/nginx/ngx_module/ngx_cp_io.c +++ b/attachments/nginx/ngx_module/ngx_cp_io.c @@ -406,7 +406,7 @@ create_modification_node(ngx_http_cp_inject_data_t *modification, ngx_http_reque Injection position: %d, \ Injection size: %d, \ Original buffer index: %d, \ - Data: %s, \ + Modification data: %s, \ Should change data: %d", modification_node->modification.is_header, modification_node->modification.injection_pos, @@ -505,7 +505,7 @@ ngx_http_cp_reply_receiver( *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) { case TRAFFIC_VERDICT_INJECT: {