/unit/test/ |
H A D | test_static_chroot.py | 6 from unit.applications.proto import ApplicationProto
|
H A D | test_static_share.py | 6 from unit.applications.proto import ApplicationProto
|
H A D | test_static_fallback.py | 6 from unit.applications.proto import ApplicationProto
|
H A D | test_response_headers.py | 6 from unit.applications.proto import ApplicationProto
|
H A D | test_rewrite.py | 5 from unit.applications.proto import ApplicationProto
|
H A D | test_return.py | 5 from unit.applications.proto import ApplicationProto
|
H A D | test_reconfigure.py | 5 from unit.applications.proto import ApplicationProto
|
H A D | test_forwarded_header.py | 162 for proto in ['http', 'https']: 163 assert get_scheme('ipv6', xfp=proto) == proto, 'replace'
|
H A D | test_njs_modules.py | 1 from unit.applications.proto import ApplicationProto
|
/unit/src/ |
H A D | nxt_php_sapi.c | 936 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 D | nxt_unit.c | 4443 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 D | nxt_http_route.c | 1622 if (r->local == NULL && nxt_fast_path(r->proto.any != NULL)) { in nxt_http_route_match()
|
H A D | nxt_http.h | 119 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 D | nxt_h1proto.c | 55 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 D | nxt_script.c | 223 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 D | nxt_js.h | 28 void nxt_js_set_proto(nxt_js_conf_t *jcf, njs_external_t *proto, nxt_uint_t n);
|
H A D | nxt_http_parse.c | 1191 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 D | nxt_http_parse.h | 143 lhq.proto = &nxt_http_fields_hash_proto; in nxt_http_field_process()
|
/unit/src/python/ |
H A D | nxt_python_wsgi.c | 184 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 D | nxt_python_asgi.c | 143 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 D | nxt_python.c | 153 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 D | nxt_python.h | 78 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 D | ruby.py | 3 from unit.applications.proto import ApplicationProto
|
H A D | node.py | 4 from unit.applications.proto import ApplicationProto
|
H A D | perl.py | 1 from unit.applications.proto import ApplicationProto
|