Home
last modified time | relevance | path

Searched refs:nxt_string (Results 1 – 25 of 40) sorted by relevance

12

/unit/src/python/
H A Dnxt_python_asgi_str.c71 { nxt_string("1.0"), &nxt_py_1_0_str },
72 { nxt_string("1.1"), &nxt_py_1_1_str },
73 { nxt_string("2.0"), &nxt_py_2_0_str },
74 { nxt_string("2.1"), &nxt_py_2_1_str },
75 { nxt_string("3.0"), &nxt_py_3_0_str },
77 { nxt_string("asgi"), &nxt_py_asgi_str },
79 { nxt_string("body"), &nxt_py_body_str },
82 { nxt_string("code"), &nxt_py_code_str },
83 { nxt_string("done"), &nxt_py_done_str },
123 { nxt_string("ws"), &nxt_py_ws_str },
[all …]
H A Dnxt_python_wsgi.c154 { nxt_string("80"), &nxt_py_80_str },
155 { nxt_string("close"), &nxt_py_close_str },
158 { nxt_string("http"), &nxt_py_http_str },
159 { nxt_string("https"), &nxt_py_https_str },
160 { nxt_string("PATH_INFO"), &nxt_py_path_info_str },
162 { nxt_string("REMOTE_ADDR"), &nxt_py_remote_addr_str },
164 { nxt_string("REQUEST_URI"), &nxt_py_request_uri_str },
165 { nxt_string("SCRIPT_NAME"), &nxt_py_script_name_str },
166 { nxt_string("SERVER_ADDR"), &nxt_py_server_addr_str },
167 { nxt_string("SERVER_NAME"), &nxt_py_server_name_str },
[all …]
H A Dnxt_python.c51 nxt_string("python"),
169 static const nxt_str_t wsgi = nxt_string("wsgi"); in nxt_python_start()
170 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_python_start()
408 static nxt_str_t module_str = nxt_string("module"); in nxt_python_set_target()
409 static nxt_str_t callable_str = nxt_string("callable"); in nxt_python_set_target()
410 static nxt_str_t prefix_str = nxt_string("prefix"); in nxt_python_set_target()
/unit/src/test/
H A Dnxt_http_parse_test.c71 nxt_string("GET"),
72 nxt_string("/"),
97 nxt_string(""),
163 nxt_string(""),
377 { nxt_string("Host"),
381 { nxt_string("Accept"),
395 { nxt_string("Cookie"),
397 { nxt_string("Range"),
405 { nxt_string("Via"),
417 { nxt_string("Date"),
[all …]
H A Dnxt_base64_test.c35 { nxt_string("Aa=="), in nxt_base64_test()
37 { nxt_string("0Z"), in nxt_base64_test()
39 { nxt_string("0aA="), in nxt_base64_test()
41 { nxt_string("z/+"), in nxt_base64_test()
48 { nxt_string("aBc_"), in nxt_base64_test()
50 { nxt_string("5"), in nxt_base64_test()
52 { nxt_string("M==="), in nxt_base64_test()
54 { nxt_string("===="), in nxt_base64_test()
56 { nxt_string("Ab="), in nxt_base64_test()
58 { nxt_string("00=0"), in nxt_base64_test()
[all …]
H A Dnxt_clone_test.c56 nxt_string(""),
61 nxt_string("")
65 nxt_string(""),
70 nxt_string("")
79 nxt_string("")
88 nxt_string("")
97 nxt_string("")
118 nxt_string("")
128 nxt_string("")
138 nxt_string("")
[all …]
H A Dnxt_term_parse_test.c19 { nxt_string("1y"), 1, 365 * 24 * 60 * 60 },
20 { nxt_string("1w"), 1, 7 * 24 * 60 * 60 },
23 { nxt_string("1w d"), 0, -1 },
24 { nxt_string("w"), 0, -1 },
25 { nxt_string("1d 1w"), 0, -1 },
26 { nxt_string("25d"), 0, -2 },
27 { nxt_string("300"), 1, 300 },
28 { nxt_string("300"), 0, 300000 },
29 { nxt_string("300s"), 1, 300 },
30 { nxt_string("300ms"), 0, 300 },
[all …]
/unit/src/
H A Dnxt_conf_validation.c428 .name = nxt_string("tls"),
1449 nxt_string("a null"), in nxt_conf_vldt_type()
1450 nxt_string("a boolean"), in nxt_conf_vldt_type()
1453 nxt_string("a string"), in nxt_conf_vldt_type()
1454 nxt_string("an array"), in nxt_conf_vldt_type()
1455 nxt_string("an object"), in nxt_conf_vldt_type()
2823 nxt_string("spare"),
2829 nxt_string("max"),
2835 nxt_string("idle_timeout"),
3386 nxt_string("path"),
[all …]
H A Dnxt_http_response.c22 { nxt_string("Status"), &nxt_http_response_status, 0 },
23 { nxt_string("Server"), &nxt_http_response_skip, 0 },
24 { nxt_string("Date"), &nxt_http_response_field,
26 { nxt_string("Connection"), &nxt_http_response_skip, 0 },
27 { nxt_string("Content-Type"), &nxt_http_response_field,
29 { nxt_string("Content-Length"), &nxt_http_response_field,
31 { nxt_string("Upgrade"), &nxt_http_response_skip, 0 },
32 { nxt_string("Sec-WebSocket-Accept"), &nxt_http_response_skip, 0 },
H A Dnxt_status.c20 static nxt_str_t conns_str = nxt_string("connections"); in nxt_status_get()
21 static nxt_str_t acc_str = nxt_string("accepted"); in nxt_status_get()
22 static nxt_str_t active_str = nxt_string("active"); in nxt_status_get()
23 static nxt_str_t idle_str = nxt_string("idle"); in nxt_status_get()
24 static nxt_str_t closed_str = nxt_string("closed"); in nxt_status_get()
25 static nxt_str_t reqs_str = nxt_string("requests"); in nxt_status_get()
26 static nxt_str_t total_str = nxt_string("total"); in nxt_status_get()
27 static nxt_str_t apps_str = nxt_string("applications"); in nxt_status_get()
28 static nxt_str_t procs_str = nxt_string("processes"); in nxt_status_get()
29 static nxt_str_t run_str = nxt_string("running"); in nxt_status_get()
[all …]
H A Dnxt_http_static.c940 { nxt_string("text/html"), ".html" }, in nxt_http_static_mtypes_init()
941 { nxt_string("text/html"), ".htm" }, in nxt_http_static_mtypes_init()
942 { nxt_string("text/css"), ".css" }, in nxt_http_static_mtypes_init()
944 { nxt_string("image/svg+xml"), ".svg" }, in nxt_http_static_mtypes_init()
945 { nxt_string("image/webp"), ".webp" }, in nxt_http_static_mtypes_init()
946 { nxt_string("image/png"), ".png" }, in nxt_http_static_mtypes_init()
947 { nxt_string("image/apng"), ".apng" }, in nxt_http_static_mtypes_init()
948 { nxt_string("image/jpeg"), ".jpeg" }, in nxt_http_static_mtypes_init()
949 { nxt_string("image/jpeg"), ".jpg" }, in nxt_http_static_mtypes_init()
950 { nxt_string("image/gif"), ".gif" }, in nxt_http_static_mtypes_init()
[all …]
H A Dnxt_log.c24 nxt_string("alert"),
25 nxt_string("error"),
26 nxt_string("warn"),
27 nxt_string("notice"),
28 nxt_string("info"),
29 nxt_string("debug")
H A Dnxt_main_process.c109 nxt_string("type"),
115 nxt_string("user"),
121 nxt_string("group"),
127 nxt_string("stdout"),
133 nxt_string("stderr"),
157 nxt_string("limits"),
167 nxt_string("shm"),
199 nxt_string("home"),
205 nxt_string("path"),
284 nxt_string("hooks"),
[all …]
H A Dnxt_h1proto.c163 { nxt_string("Sec-WebSocket-Version"),
1119 nxt_string("HTTP/1.1 200 OK\r\n"),
1157 nxt_string("HTTP/1.1 410 Gone\r\n"),
1166 nxt_string("HTTP/1.1 419 \r\n"),
1167 nxt_string("HTTP/1.1 420 \r\n"),
1172 nxt_string("HTTP/1.1 425 \r\n"),
1174 nxt_string("HTTP/1.1 427 \r\n"),
1175 nxt_string("HTTP/1.1 428 \r\n"),
1176 nxt_string("HTTP/1.1 429 \r\n"),
1177 nxt_string("HTTP/1.1 430 \r\n"),
[all …]
H A Dnxt_http_variables.c59 .name = nxt_string("dollar"),
67 .name = nxt_string("method"),
71 .name = nxt_string("request_uri"),
75 .name = nxt_string("uri"),
79 .name = nxt_string("host"),
87 .name = nxt_string("time_local"),
95 .name = nxt_string("request_id"),
99 .name = nxt_string("status"),
522 nxt_string("close"), in nxt_http_var_response_connection()
523 nxt_string("keep-alive"), in nxt_http_var_response_connection()
[all …]
H A Dnxt_isolation.c227 static nxt_str_t cgname = nxt_string("cgroup"); in nxt_isolation_set_cgroup()
228 static nxt_str_t path = nxt_string("path"); in nxt_isolation_set_cgroup()
263 static nxt_str_t nsname = nxt_string("namespaces"); in nxt_isolation_set_namespaces()
289 static nxt_str_t uidname = nxt_string("uidmap"); in nxt_isolation_set_creds()
290 static nxt_str_t gidname = nxt_string("gidmap"); in nxt_isolation_set_creds()
328 nxt_string("container"), in nxt_isolation_credential_map()
334 nxt_string("host"), in nxt_isolation_credential_map()
340 nxt_string("size"), in nxt_isolation_credential_map()
499 static nxt_str_t rootfs_name = nxt_string("rootfs"); in nxt_isolation_set_rootfs()
541 static nxt_str_t tmp_name = nxt_string("tmpfs"); in nxt_isolation_set_automount()
[all …]
H A Dnxt_h1proto_websocket.c43 0, nxt_string("Out of memory") };
46 1, nxt_string("Message too big: %uL bytes") };
49 1, nxt_string("Close code %ud is not valid") };
52 0, nxt_string("Remote peer is going away") };
55 0, nxt_string("Not masked client frame") };
58 0, nxt_string("Fragmented control frame") };
61 1, nxt_string("Control frame too big: %uL bytes") };
64 0, nxt_string("Close frame payload length cannot be 1") };
67 1, nxt_string("Unrecognized opcode %ud") };
70 1, nxt_string("Continuation expected, but %ud opcode received") };
H A Dnxt_cert.c505 static nxt_str_t key_str = nxt_string("key"); in nxt_cert_details()
506 static nxt_str_t chain_str = nxt_string("chain"); in nxt_cert_details()
507 static nxt_str_t since_str = nxt_string("since"); in nxt_cert_details()
508 static nxt_str_t until_str = nxt_string("until"); in nxt_cert_details()
509 static nxt_str_t issuer_str = nxt_string("issuer"); in nxt_cert_details()
510 static nxt_str_t subject_str = nxt_string("subject"); in nxt_cert_details()
511 static nxt_str_t validity_str = nxt_string("validity"); in nxt_cert_details()
664 { NID_commonName, nxt_string("common_name") }, in nxt_cert_name_details()
665 { NID_countryName, nxt_string("country") }, in nxt_cert_name_details()
667 { NID_localityName, nxt_string("locality") }, in nxt_cert_name_details()
[all …]
H A Dnxt_http_route.c296 nxt_string("scheme"),
301 nxt_string("host"),
307 nxt_string("uri"),
313 nxt_string("method"),
337 nxt_string("query"),
343 nxt_string("source"),
592 nxt_string("pass"),
607 nxt_string("proxy"),
612 nxt_string("share"),
617 nxt_string("index"),
[all …]
H A Dnxt_router.c1422 nxt_string("type"),
1428 nxt_string("limits"),
1434 nxt_string("processes"),
1440 nxt_string("processes"),
1446 nxt_string("targets"),
1455 nxt_string("timeout"),
1464 nxt_string("spare"),
1470 nxt_string("max"),
1485 nxt_string("pass"),
1491 nxt_string("application"),
[all …]
H A Dnxt_js.c134 static nxt_str_t import_str = nxt_string("import"); in nxt_js_vm_create()
135 static nxt_str_t from_str = nxt_string("from"); in nxt_js_vm_create()
136 static nxt_str_t global_str = nxt_string("globalThis"); in nxt_js_vm_create()
242 static nxt_str_t func_str = nxt_string("function(uri, host, remoteAddr, " in nxt_js_add_tpl()
249 static nxt_str_t strz_str = nxt_string(" + '\\x00'"); in nxt_js_add_tpl()
H A Dnxt_router_access_log.c47 nxt_string("path"),
53 nxt_string("format"),
59 nxt_string("if"),
78 static nxt_str_t log_format_str = nxt_string("$remote_addr - - " in nxt_router_access_log_create()
H A Dnxt_controller.c129 { nxt_string("Content-Length"),
513 static const nxt_str_t json = nxt_string( in nxt_controller_conf_default()
1088 static nxt_str_t config = nxt_string("config"); in nxt_controller_process_request()
1089 static nxt_str_t status = nxt_string("status"); in nxt_controller_process_request()
1281 static const nxt_str_t empty_obj = nxt_string("{}"); in nxt_controller_process_config()
2489 static nxt_str_t success_str = nxt_string("success"); in nxt_controller_response()
2490 static nxt_str_t error_str = nxt_string("error"); in nxt_controller_response()
2491 static nxt_str_t detail_str = nxt_string("detail"); in nxt_controller_response()
2493 static nxt_str_t offset_str = nxt_string("offset"); in nxt_controller_response()
2494 static nxt_str_t line_str = nxt_string("line"); in nxt_controller_response()
[all …]
H A Dnxt_upstream_round_robin.c55 static nxt_str_t servers = nxt_string("servers"); in nxt_upstream_round_robin_create()
56 static nxt_str_t weight = nxt_string("weight"); in nxt_upstream_round_robin_create()
/unit/src/ruby/
H A Dnxt_ruby.c96 nxt_string("ruby"),
130 { nxt_string("80"), &nxt_rb_80_str },
132 { nxt_string("CONTENT_TYPE"), &nxt_rb_content_type_str },
133 { nxt_string("http"), &nxt_rb_http_str },
134 { nxt_string("https"), &nxt_rb_https_str },
135 { nxt_string("PATH_INFO"), &nxt_rb_path_info_str },
138 { nxt_string("REMOTE_ADDR"), &nxt_rb_remote_addr_str },
140 { nxt_string("REQUEST_URI"), &nxt_rb_request_uri_str },
141 { nxt_string("SERVER_ADDR"), &nxt_rb_server_addr_str },
142 { nxt_string("SERVER_NAME"), &nxt_rb_server_name_str },
[all …]

12