sync code (#43)

Co-authored-by: Ned Wright <nedwright@proton.me>
This commit is contained in:
Daniel-Eisenberg
2025-08-10 13:23:10 +03:00
committed by GitHub
parent 6154961b0b
commit a5db1bbbc6
17 changed files with 402 additions and 157 deletions

View File

@@ -58,6 +58,7 @@ ngx_int_t
ngx_http_cp_reply_receiver(
ngx_int_t *expected_replies,
ngx_http_cp_verdict_e *verdict,
ngx_int_t *inspect_all_response_headers,
uint32_t cur_session_id,
ngx_http_request_t *request,
ngx_http_cp_modification_list **modification_list,
@@ -70,6 +71,7 @@ ngx_http_cp_reply_receiver(
/// @param[in, out] request NGINX request.
/// @param[in] cur_request_id Request session's Id.
/// @param[in, out] num_messages_sent Number of messages sent will be saved onto this parameter.
/// @param[in] waf_tag WAF tag to be sent.
/// @returns ngx_int_t
/// - #NGX_OK
/// - #NGX_ERROR
@@ -78,7 +80,8 @@ ngx_int_t
ngx_http_cp_meta_data_sender(
ngx_http_request_t *request,
uint32_t cur_request_id,
ngx_uint_t *num_messages_sent
ngx_uint_t *num_messages_sent,
ngx_str_t *waf_tag
);
///
@@ -138,7 +141,6 @@ ngx_http_cp_content_length_sender(
/// - #RESPONSE_HEADER
/// @param[in] cur_request_id Request session's Id.
/// @param[in, out] num_messages_sent Number of messages sent will be saved onto this parameter.
/// @param[in, out] waf_tag WAF tag to be sent.
/// @returns ngx_int_t
/// - #NGX_OK
/// - #NGX_ERROR
@@ -148,8 +150,7 @@ ngx_http_cp_header_sender(
ngx_list_part_t *headers,
ngx_http_chunk_type_e header_type,
uint32_t cur_request_id,
ngx_uint_t *num_messages_sent,
ngx_str_t *waf_tag
ngx_uint_t *num_messages_sent
);
///