Home
last modified time | relevance | path

Searched refs:value_length (Results 1 – 25 of 27) sorted by last modified time

12

/unit/src/python/
H A Dnxt_python_asgi.c707 && f->value_length > 0 in nxt_py_asgi_create_http_scope()
854 f->value_length); in nxt_py_asgi_create_header()
877 for (i = 0; i < f->value_length; i++) { in nxt_py_asgi_create_subprotocols()
891 for (i = 0; i < f->value_length; ) { in nxt_py_asgi_create_subprotocols()
911 } while (i < f->value_length && v[i] == ' '); in nxt_py_asgi_create_subprotocols()
H A Dnxt_python_wsgi.c634 vl = f->value_length; in nxt_python_get_environ()
645 vl += 2 + f2->value_length; in nxt_python_get_environ()
657 f->value_length)); in nxt_python_get_environ()
664 f->value_length)); in nxt_python_get_environ()
749 (int) field->value_length, in nxt_python_add_field()
838 p = nxt_cpymem(p, src, f->value_length); in nxt_python_field_value()
844 p = nxt_cpymem(p, src, f[i].value_length); in nxt_python_field_value()
1017 uint32_t name_length, value_length; in nxt_python_response_add_field() local
1029 rc = nxt_python_str_buf(value, &value_str, &value_length, &value_bytes); in nxt_python_response_add_field()
1035 value_str, value_length); in nxt_python_response_add_field()
[all …]
/unit/src/ruby/
H A Dnxt_ruby.c763 nxt_ruby_add_sptr(hash_env, name, &f->value, f->value_length); in nxt_ruby_read_request()
770 &f->value, f->value_length); in nxt_ruby_read_request()
777 &f->value, f->value_length); in nxt_ruby_read_request()
/unit/src/
H A Dnxt_router.c3855 field->value_length = f->value_length; in nxt_router_response_ready_handler()
3867 (size_t) field->value_length, field->value); in nxt_router_response_ready_handler()
5125 + field->value_length + 1; in nxt_router_prepare_msg()
5228 dst_field->value_length = field->value_length; in nxt_router_prepare_msg()
5246 (int) field->value_length, field->value); in nxt_router_prepare_msg()
5277 p = nxt_cpymem(p, field->value, field->value_length); in nxt_router_prepare_msg()
5295 p = nxt_cpymem(p, dup->value, dup->value_length); in nxt_router_prepare_msg()
5297 dst_field->value_length += 2 + dup->value_length; in nxt_router_prepare_msg()
H A Dnxt_http_static.c527 field->value_length = nxt_http_date(p, &tm) - p; in nxt_http_static_send_ready()
544 field->value_length = nxt_sprintf(p, p + length, "\"%xT-%xO\"", in nxt_http_static_send_ready()
566 field->value_length = mtype->length; in nxt_http_static_send_ready()
626 field->value_length = length; in nxt_http_static_send_ready()
H A Dnxt_http_request.c93 host.length = field->value_length; in nxt_http_request_host()
368 && f->value_length > 0 in nxt_http_request_forward()
384 && f->value_length > 0 in nxt_http_request_forward()
421 len = f[i]->value_length; in nxt_http_request_forward_client_ip()
509 if (field->value_length == 4) { in nxt_http_request_forward_protocol()
514 } else if (field->value_length == 5) { in nxt_http_request_forward_protocol()
519 } else if (field->value_length == 2) { in nxt_http_request_forward_protocol()
650 date->value_length = nxt_http_date_cache.size; in nxt_http_request_header_send()
672 content_length->value_length = end - p; in nxt_http_request_header_send()
976 nv->value_length = length; in nxt_http_argument()
[all …]
H A Dnxt_http_route.c85 uint32_t value_length; member
1895 ret = nxt_http_route_test_rule(r, rule, f->value, f->value_length); in nxt_http_route_header()
1943 nv->value_length); in nxt_http_route_test_argument()
2021 nv->value_length); in nxt_http_route_test_cookie()
H A Dnxt_http_variables.c334 str->length = r->referer->value_length; in nxt_http_var_referer()
354 str->length = r->user_agent->value_length; in nxt_http_var_user_agent()
394 str->length = nv->value_length; in nxt_http_var_arg()
429 str->length = f->value_length; in nxt_http_var_header()
472 str->length = nv->value_length; in nxt_http_var_cookie()
H A Dnxt_http_return.c200 field->value_length = ctx->encoded.length; in nxt_http_return_send_ready()
H A Dnxt_http.h101 (_field)->value_length = nxt_length(_value); \
204 uint32_t value_length; member
H A Dnxt_controller.c1004 length = nxt_off_t_parse(field->value, field->value_length); in nxt_controller_request_content_length()
H A Dnxt_unit.c2147 if (nxt_slow_path(src->name_length + src->value_length + 2 in nxt_unit_response_realloc()
2152 i, src, src->name_length, src->value_length); in nxt_unit_response_realloc()
2162 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->value), src->value_length); in nxt_unit_response_realloc()
2168 f->value_length = src->value_length; in nxt_unit_response_realloc()
2225 const char *value, uint32_t value_length) in nxt_unit_response_add_field() argument
2252 if (nxt_slow_path(name_length + value_length + 2 in nxt_unit_response_add_field()
2263 (int) value_length, value); in nxt_unit_response_add_field()
2272 buf->free = nxt_cpymem(buf->free, value, value_length); in nxt_unit_response_add_field()
2278 f->value_length = value_length; in nxt_unit_response_add_field()
H A Dnxt_http_parse.c809 field->value_length = rp->field_value.length; in nxt_http_parse_field_end()
H A Dnxt_http_parse.h91 uint32_t value_length; member
H A Dnxt_h1proto.c746 if (field->value_length == 5 in nxt_h1p_connection()
751 } else if (field->value_length == 10 in nxt_h1p_connection()
756 } else if (field->value_length == 7 in nxt_h1p_connection()
773 if (field->value_length == 9 in nxt_h1p_upgrade()
790 if (field->value_length == 24) { in nxt_h1p_websocket_key()
805 if (field->value_length == 2 in nxt_h1p_websocket_version()
825 if (field->value_length == 7 in nxt_h1p_transfer_encoding()
1310 size += field->name_length + field->value_length; in nxt_h1p_request_header_send()
1333 p = nxt_cpymem(p, field->value, field->value_length); in nxt_h1p_request_header_send()
2272 size += field->name_length + field->value_length; in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_php_sapi.c780 ini_entry->value_length = value->length; in nxt_php_alter_option()
1383 nxt_php_set_sptr(req, name, &f->value, f->value_length,
1390 nxt_php_set_sptr(req, "CONTENT_LENGTH", &f->value, f->value_length,
1397 nxt_php_set_sptr(req, "CONTENT_TYPE", &f->value, f->value_length,
H A Dnxt_unit.h270 const char* value, uint32_t value_length);
H A Dnxt_http_proxy.c264 (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 Dnxt_unit_field.h27 uint32_t value_length; member
H A Dnxt_http_response.c55 if (field->value_length >= 3) { in nxt_http_response_status()
/unit/src/perl/
H A Dnxt_perl_psgi.c685 &f->value, f->value_length)); in nxt_perl_psgi_env_create()
692 &f->value, f->value_length)); in nxt_perl_psgi_env_create()
699 &f->value, f->value_length)); in nxt_perl_psgi_env_create()
/unit/src/test/
H A Dnxt_unit_app_test.c253 p = copy(p, nxt_unit_sptr_get(&f->value), f->value_length); in greeting_app_request_handler()
/unit/src/nodejs/unit-http/
H A Dunit.cpp636 vstr = set_named_property(headers, name, f->value, f->value_length); in append_header()
875 f->value_length = (uint32_t) value_len; in response_send_headers()
901 f->value_length = (uint32_t) value_len; in response_send_headers()
/unit/src/java/
H A Dnxt_jni_Request.c369 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 Dnxt_jni_HeadersEnumeration.c147 f->value_length); in nxt_java_HeadersEnumeration_nextElement()

12