/unit/src/ |
H A D | nxt_unit_field.h | 27 uint32_t value_length; member
|
H A D | nxt_http_request.c | 95 host.length = field->value_length; in nxt_http_request_host() 376 && f->value_length > 0 in nxt_http_request_forward() 392 && f->value_length > 0 in nxt_http_request_forward() 429 len = f[i]->value_length; in nxt_http_request_forward_client_ip() 517 if (field->value_length == 4) { in nxt_http_request_forward_protocol() 522 } else if (field->value_length == 5) { in nxt_http_request_forward_protocol() 527 } else if (field->value_length == 2) { in nxt_http_request_forward_protocol() 659 server->value_length = nxt_strlen(server_string); in nxt_http_request_header_send() 699 content_length->value_length = end - p; in nxt_http_request_header_send() 1058 nv->value_length = length; in nxt_http_argument() [all …]
|
H A D | nxt_http_variables.c | 483 str->length = r->referer->value_length; in nxt_http_var_referer() 502 str->length = r->user_agent->value_length; in nxt_http_var_user_agent() 564 str->length = r->resp.content_length->value_length; in nxt_http_var_response_content_length() 635 str->length = nv->value_length; in nxt_http_var_arg() 666 str->length = f->value_length; in nxt_http_var_header() 705 str->length = nv->value_length; in nxt_http_var_cookie() 768 str->length = f->value_length; in nxt_http_var_response_header()
|
H A D | nxt_http_response.c | 55 if (field->value_length >= 3) { in nxt_http_response_status()
|
H A D | nxt_http_parse.h | 92 uint32_t value_length; member
|
H A D | nxt_http_proxy.c | 264 (size_t) field->value_length, field->value); in nxt_http_proxy_header_read() 416 n = nxt_off_t_parse(field->value, field->value_length); in nxt_http_proxy_content_length()
|
H A D | nxt_http_js.c | 218 f->value_length); in nxt_http_js_ext_get_header() 300 nv->value_length); in nxt_http_js_ext_get_cookie()
|
H A D | nxt_http_set_headers.c | 168 f->value_length = value[i].length; in nxt_http_set_headers()
|
H A D | nxt_h1proto.c | 756 if (field->value_length == 5 in nxt_h1p_connection() 761 } else if (field->value_length == 10 in nxt_h1p_connection() 766 } else if (field->value_length == 7 in nxt_h1p_connection() 783 if (field->value_length == 9 in nxt_h1p_upgrade() 800 if (field->value_length == 24) { in nxt_h1p_websocket_key() 815 if (field->value_length == 2 in nxt_h1p_websocket_version() 835 if (field->value_length == 7 in nxt_h1p_transfer_encoding() 1320 size += field->name_length + field->value_length; in nxt_h1p_request_header_send() 1343 p = nxt_cpymem(p, field->value, field->value_length); in nxt_h1p_request_header_send() 2283 size += field->name_length + field->value_length; in nxt_h1p_peer_header_send() [all …]
|
H A D | nxt_http_static.c | 532 field->value_length = nxt_http_date(p, &tm) - p; in nxt_http_static_send_ready() 549 field->value_length = nxt_sprintf(p, p + length, "\"%xT-%xO\"", in nxt_http_static_send_ready() 571 field->value_length = mtype->length; in nxt_http_static_send_ready() 631 field->value_length = length; in nxt_http_static_send_ready()
|
H A D | nxt_http.h | 101 (_field)->value_length = nxt_length(_value); \ 211 uint32_t value_length; member
|
H A D | nxt_http_return.c | 204 field->value_length = ctx->encoded.length; in nxt_http_return_send_ready()
|
H A D | nxt_unit.h | 270 const char* value, uint32_t value_length);
|
H A D | nxt_php_sapi.c | 788 ini_entry->value_length = value->length; in nxt_php_alter_option() 1513 nxt_php_set_sptr(req, name, &f->value, f->value_length, 1520 nxt_php_set_sptr(req, "CONTENT_LENGTH", &f->value, f->value_length, 1527 nxt_php_set_sptr(req, "CONTENT_TYPE", &f->value, f->value_length,
|
H A D | nxt_router.c | 4146 field->value_length = f->value_length; in nxt_router_response_ready_handler() 4158 (size_t) field->value_length, field->value); in nxt_router_response_ready_handler() 5417 + field->value_length + 1; in nxt_router_prepare_msg() 5526 dst_field->value_length = field->value_length; in nxt_router_prepare_msg() 5544 (int) field->value_length, field->value); in nxt_router_prepare_msg() 5575 p = nxt_cpymem(p, field->value, field->value_length); in nxt_router_prepare_msg() 5593 p = nxt_cpymem(p, dup->value, dup->value_length); in nxt_router_prepare_msg() 5595 dst_field->value_length += 2 + dup->value_length; in nxt_router_prepare_msg()
|
/unit/src/python/ |
H A D | nxt_python_wsgi.c | 661 vl = f->value_length; in nxt_python_get_environ() 672 vl += 2 + f2->value_length; in nxt_python_get_environ() 684 f->value_length)); in nxt_python_get_environ() 691 f->value_length)); in nxt_python_get_environ() 790 (int) field->value_length, in nxt_python_add_field() 878 p = nxt_cpymem(p, src, f->value_length); in nxt_python_field_value() 884 p = nxt_cpymem(p, src, f[i].value_length); in nxt_python_field_value() 905 p = nxt_cpymem(p, src, f->value_length); in nxt_python_field_value() 911 p = nxt_cpymem(p, src, f[i].value_length); in nxt_python_field_value() 1085 uint32_t name_length, value_length; in nxt_python_response_add_field() local [all …]
|
H A D | nxt_python_asgi.c | 783 && f->value_length > 0 in nxt_py_asgi_create_http_scope() 920 f->value_length); in nxt_py_asgi_create_header() 943 for (i = 0; i < f->value_length; i++) { in nxt_py_asgi_create_subprotocols() 957 for (i = 0; i < f->value_length; ) { in nxt_py_asgi_create_subprotocols() 977 } while (i < f->value_length && v[i] == ' '); in nxt_py_asgi_create_subprotocols()
|
/unit/src/java/ |
H A D | nxt_jni_Request.c | 369 end = value + f->value_length; in nxt_java_Request_getIntHeader() 373 if (end < value + f->value_length) { in nxt_java_Request_getIntHeader() 611 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerName() 614 colon = host + f->value_length; in nxt_java_Request_getServerName() 639 colon = memchr(host, ':', f->value_length); in nxt_java_Request_getServerPort() 645 tmp = host[f->value_length]; in nxt_java_Request_getServerPort() 647 host[f->value_length] = '\0'; in nxt_java_Request_getServerPort() 651 host[f->value_length] = tmp; in nxt_java_Request_getServerPort()
|
H A D | nxt_jni_Response.c | 409 f->value_length = snprintf(p, 40, "%d", (int) value); in nxt_java_add_int_header() 410 p += f->value_length + 1; in nxt_java_add_int_header() 500 f->value_length); in nxt_java_Response_getHeader() 693 if (add_field && f->value_length >= (uint32_t) value_len) { in nxt_java_response_set_header() 697 f->value_length = value_len; in nxt_java_response_set_header() 894 f->value_length); in nxt_java_Response_getContentType()
|
H A D | nxt_jni_HeadersEnumeration.c | 147 f->value_length); in nxt_java_HeadersEnumeration_nextElement()
|
/unit/go/ |
H A D | request.go | 86 v := GoStringN(&f.value, C.int(f.value_length))
|
/unit/src/test/ |
H A D | nxt_unit_app_test.c | 253 p = copy(p, nxt_unit_sptr_get(&f->value), f->value_length); in greeting_app_request_handler()
|
/unit/src/nodejs/unit-http/ |
H A D | unit.cpp | 642 vstr = set_named_property(headers, name, f->value, f->value_length); in append_header() 882 f->value_length = (uint32_t) value_len; in response_send_headers() 908 f->value_length = (uint32_t) value_len; in response_send_headers()
|
/unit/src/perl/ |
H A D | nxt_perl_psgi.c | 686 &f->value, f->value_length)); in nxt_perl_psgi_env_create() 693 &f->value, f->value_length)); in nxt_perl_psgi_env_create() 700 &f->value, f->value_length)); in nxt_perl_psgi_env_create()
|
/unit/src/ruby/ |
H A D | nxt_ruby.c | 770 nxt_ruby_add_sptr(hash_env, name, &f->value, f->value_length); in nxt_ruby_read_request() 777 &f->value, f->value_length); in nxt_ruby_read_request() 784 &f->value, f->value_length); in nxt_ruby_read_request()
|