Home
last modified time | relevance | path

Searched refs:content_length_n (Results 1 – 8 of 8) sorted by relevance

/unit/src/
H A Dnxt_http_error.c56 r->resp.content_length_n = NXT_HTTP_ERROR_LEN; in nxt_http_request_error()
H A Dnxt_http_request.c227 r->content_length_n = n; in nxt_http_request_content_length()
277 r->content_length_n = -1; in nxt_http_request_create()
278 r->resp.content_length_n = -1; in nxt_http_request_create()
655 if (r->resp.content_length_n != -1 in nxt_http_request_header_send()
671 end = nxt_sprintf(p, p + NXT_OFF_T_LEN, "%O", r->resp.content_length_n); in nxt_http_request_header_send()
H A Dnxt_http.h112 nxt_off_t content_length_n; member
161 nxt_off_t content_length_n; member
H A Dnxt_http_return.c112 r->resp.content_length_n = 0; in nxt_http_return()
H A Dnxt_h1proto.c856 r->content_length_n, h1p->transfer_encoding); in nxt_h1p_request_body_read()
873 if (r->content_length_n == -1 || r->content_length_n == 0) { in nxt_h1p_request_body_read()
877 body_length = (size_t) r->content_length_n; in nxt_h1p_request_body_read()
2545 } else if (r->resp.content_length_n > 0) { in nxt_h1p_peer_header_read_done()
2546 h1p->remainder = r->resp.content_length_n; in nxt_h1p_peer_header_read_done()
H A Dnxt_http_proxy.c419 r->resp.content_length_n = n; in nxt_http_proxy_content_length()
H A Dnxt_http_static.c507 r->resp.content_length_n = nxt_file_size(&fi); in nxt_http_static_send_ready()
601 r->resp.content_length_n = 0; in nxt_http_static_send_ready()
H A Dnxt_router.c5540 content_length = r->content_length_n < 0 ? 0 : r->content_length_n; in nxt_router_prepare_msg()