Searched refs:header_count (Results 1 – 6 of 6) sorted by relevance
191 size_t header_count; /**< Array length of HTTP request headers */ member199 size_t header_count; /**< Length of headers array */ member
120 const struct http_header *headers, size_t header_count, in http1_send_headers() argument133 if (headers == NULL && header_count > 0) { in http1_send_headers()149 for (size_t i = 0; i < header_count; i++) { in http1_send_headers()218 if (client->http1_headers_sent && (rsp->header_count > 0 || rsp->status != 0)) { in http1_dynamic_response()229 ret = http1_send_headers(client, rsp->status, rsp->headers, rsp->header_count, in http1_dynamic_response()
819 (rsp->status == 0 && rsp->header_count == 0 && rsp->body_len == 0)) { in http_response_is_final()828 if (rsp->status != 0 || rsp->header_count > 0 || rsp->body_len > 0) { in http_response_is_provided()843 req_ctx->header_count = 0; in populate_request_ctx()847 req_ctx->header_count = header_ctx->count; in populate_request_ctx()
505 if (client->current_stream->headers_sent && (rsp->header_count > 0 || rsp->status != 0)) { in http2_dynamic_response()522 if (rsp->headers == NULL && rsp->header_count > 0) { in http2_dynamic_response()534 rsp->headers, rsp->header_count); in http2_dynamic_response()
303 * The ``headers``, ``header_count`` and ``headers_status`` fields pass request313 * The ``headers`` and ``header_count`` fields can be used for the application to393 size_t header_count = client->header_capture_ctx.count;396 LOG_INF("Captured %d headers with request", header_count);398 for (uint32_t i = 0; i < header_count; i++) {
328 if (request_ctx->header_count != 0) { in dynamic_request_headers_cb()336 clone->count = request_ctx->header_count; in dynamic_request_headers_cb()343 for (int i = 0; i < request_ctx->header_count; i++) { in dynamic_request_headers_cb()451 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()457 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()465 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()478 response_ctx->header_count = ARRAY_SIZE(extra_headers); in dynamic_response_headers_cb()