Home
last modified time | relevance | path

Searched refs:proto (Results 26 – 50 of 69) sorted by last modified time

123

/unit/test/
H A Dtest_static_chroot.py6 from unit.applications.proto import ApplicationProto
H A Dtest_static_share.py6 from unit.applications.proto import ApplicationProto
H A Dtest_static_fallback.py6 from unit.applications.proto import ApplicationProto
H A Dtest_response_headers.py6 from unit.applications.proto import ApplicationProto
H A Dtest_rewrite.py5 from unit.applications.proto import ApplicationProto
H A Dtest_return.py5 from unit.applications.proto import ApplicationProto
H A Dtest_reconfigure.py5 from unit.applications.proto import ApplicationProto
H A Dtest_forwarded_header.py162 for proto in ['http', 'https']:
163 assert get_scheme('ipv6', xfp=proto) == proto, 'replace'
H A Dtest_njs_modules.py1 from unit.applications.proto import ApplicationProto
/unit/src/
H A Dnxt_php_sapi.c936 const char *proto; in nxt_php_do_301() local
951 proto = r->tls ? "https://" : "http://"; in nxt_php_do_301()
952 p = nxt_cpymem(url, proto, strlen(proto)); in nxt_php_do_301()
H A Dnxt_unit.c4443 lhq->proto = &lvlhsh_processes_proto; in nxt_unit_process_lhq_pid()
6414 lhq->proto = &lvlhsh_ports_proto; in nxt_unit_port_hash_lhq()
6510 lhq.proto = &lvlhsh_requests_proto; in nxt_unit_request_hash_add()
6546 lhq.proto = &lvlhsh_requests_proto; in nxt_unit_request_hash_find()
H A Dnxt_http_route.c1622 if (r->local == NULL && nxt_fast_path(r->proto.any != NULL)) { in nxt_http_route_match()
H A Dnxt_http.h119 nxt_http_proto_t proto; member
133 nxt_http_proto_t proto; member
271 nxt_off_t (*body_bytes_sent)(nxt_task_t *task, nxt_http_proto_t proto);
273 void (*close)(nxt_task_t *task, nxt_http_proto_t proto,
H A Dnxt_h1proto.c55 nxt_http_proto_t proto);
487 r->proto.h1 = h1p; in nxt_h1p_conn_request_init()
863 h1p = r->proto.h1; in nxt_h1p_request_body_read()
1237 h1p = r->proto.h1; in nxt_h1p_request_header_send()
1472 h1p = r->proto.h1; in nxt_h1p_request_send()
1559 h1p = proto.h1; in nxt_h1p_request_body_bytes_sent()
1578 h1p = r->proto.h1; in nxt_h1p_request_discard()
1702 h1p = proto.h1; in nxt_h1p_request_close()
2177 peer->proto.h1 = h1p; in nxt_h1p_peer_connect()
2318 c = peer->proto.h1->conn; in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_script.c223 lhq.proto = &nxt_script_info_hash_proto; in nxt_script_info_save()
253 lhq.proto = &nxt_script_info_hash_proto; in nxt_script_info_get()
330 lhq.proto = &nxt_script_info_hash_proto; in nxt_script_info_delete()
H A Dnxt_js.h28 void nxt_js_set_proto(nxt_js_conf_t *jcf, njs_external_t *proto, nxt_uint_t n);
H A Dnxt_http_parse.c1191 lhq.proto = &nxt_http_fields_hash_proto; in nxt_http_fields_hash()
1225 nxt_lvlhsh_proto_t proto; in nxt_http_fields_hash_collisions() local
1228 proto = nxt_http_fields_hash_proto; in nxt_http_fields_hash_collisions()
1229 proto.test = nxt_http_field_hash_collision; in nxt_http_fields_hash_collisions()
1232 lhq.proto = &proto; in nxt_http_fields_hash_collisions()
H A Dnxt_http_parse.h143 lhq.proto = &nxt_http_fields_hash_proto; in nxt_http_field_process()
/unit/src/python/
H A Dnxt_python_wsgi.c184 nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_wsgi_init() argument
207 *proto = nxt_py_wsgi_proto; in nxt_python_wsgi_init()
H A Dnxt_python_asgi.c143 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
200 *proto = nxt_py_asgi_proto; in nxt_python_asgi_init()
938 PyObject *res, *proto; in nxt_py_asgi_create_subprotocols() local
965 proto = PyString_FromStringAndSize(v + start, i - start); in nxt_py_asgi_create_subprotocols()
966 if (nxt_slow_path(proto == NULL)) { in nxt_py_asgi_create_subprotocols()
970 PyTuple_SET_ITEM(res, n, proto); in nxt_py_asgi_create_subprotocols()
983 proto = PyString_FromStringAndSize(v + start, i - start); in nxt_py_asgi_create_subprotocols()
984 if (nxt_slow_path(proto == NULL)) { in nxt_py_asgi_create_subprotocols()
988 PyTuple_SET_ITEM(res, n, proto); in nxt_py_asgi_create_subprotocols()
1563 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
H A Dnxt_python.c153 nxt_str_t proto, probe_proto, name; in nxt_python_start() local
320 proto = c->protocol; in nxt_python_start()
322 if (proto.length == 0) { in nxt_python_start()
323 proto = nxt_python_asgi_check(targets->target[0].application) in nxt_python_start()
329 if (probe_proto.start != proto.start) { in nxt_python_start()
337 if (nxt_strstr_eq(&proto, &asgi)) { in nxt_python_start()
H A Dnxt_python.h78 int nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
81 int nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
/unit/test/unit/applications/lang/
H A Druby.py3 from unit.applications.proto import ApplicationProto
H A Dnode.py4 from unit.applications.proto import ApplicationProto
H A Dperl.py1 from unit.applications.proto import ApplicationProto

123