Home
last modified time | relevance | path

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

12

/unit/src/python/
H A Dnxt_python_asgi_str.c70 { nxt_string("1.0"), &nxt_py_1_0_str },
71 { nxt_string("1.1"), &nxt_py_1_1_str },
72 { nxt_string("2.0"), &nxt_py_2_0_str },
73 { nxt_string("2.1"), &nxt_py_2_1_str },
74 { nxt_string("3.0"), &nxt_py_3_0_str },
76 { nxt_string("asgi"), &nxt_py_asgi_str },
78 { nxt_string("body"), &nxt_py_body_str },
81 { nxt_string("code"), &nxt_py_code_str },
82 { nxt_string("done"), &nxt_py_done_str },
121 { nxt_string("ws"), &nxt_py_ws_str },
[all …]
H A Dnxt_python_wsgi.c148 { nxt_string("80"), &nxt_py_80_str },
149 { nxt_string("close"), &nxt_py_close_str },
152 { nxt_string("http"), &nxt_py_http_str },
153 { nxt_string("https"), &nxt_py_https_str },
154 { nxt_string("PATH_INFO"), &nxt_py_path_info_str },
156 { nxt_string("REMOTE_ADDR"), &nxt_py_remote_addr_str },
158 { nxt_string("REQUEST_URI"), &nxt_py_request_uri_str },
159 { nxt_string("SERVER_ADDR"), &nxt_py_server_addr_str },
160 { nxt_string("SERVER_NAME"), &nxt_py_server_name_str },
161 { nxt_string("SERVER_PORT"), &nxt_py_server_port_str },
[all …]
H A Dnxt_python.c45 nxt_string("python"),
90 static const nxt_str_t wsgi = nxt_string("wsgi"); in nxt_python_start()
91 static const nxt_str_t asgi = nxt_string("asgi"); in nxt_python_start()
327 static nxt_str_t module_str = nxt_string("module"); in nxt_python_set_target()
328 static nxt_str_t callable_str = nxt_string("callable"); in nxt_python_set_target()
H A Dnxt_python_asgi_lifespan.c413 = nxt_string("lifespan.startup.complete"); in nxt_py_asgi_lifespan_send()
415 = nxt_string("lifespan.startup.failed"); in nxt_py_asgi_lifespan_send()
417 = nxt_string("lifespan.shutdown.complete"); in nxt_py_asgi_lifespan_send()
419 = nxt_string("lifespan.shutdown.failed"); in nxt_py_asgi_lifespan_send()
/unit/src/test/
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_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_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.c1238 nxt_string("a null"), in nxt_conf_vldt_type()
1239 nxt_string("a boolean"), in nxt_conf_vldt_type()
1242 nxt_string("a string"), in nxt_conf_vldt_type()
1243 nxt_string("an array"), in nxt_conf_vldt_type()
1244 nxt_string("an object"), in nxt_conf_vldt_type()
2536 nxt_string("spare"),
2542 nxt_string("max"),
2548 nxt_string("idle_timeout"),
2806 nxt_string("container"),
2812 nxt_string("host"),
[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_http_static.c932 { nxt_string("text/html"), ".html" }, in nxt_http_static_mtypes_init()
933 { nxt_string("text/html"), ".htm" }, in nxt_http_static_mtypes_init()
934 { nxt_string("text/css"), ".css" }, in nxt_http_static_mtypes_init()
936 { nxt_string("image/svg+xml"), ".svg" }, in nxt_http_static_mtypes_init()
937 { nxt_string("image/webp"), ".webp" }, in nxt_http_static_mtypes_init()
938 { nxt_string("image/png"), ".png" }, in nxt_http_static_mtypes_init()
939 { nxt_string("image/apng"), ".apng" }, in nxt_http_static_mtypes_init()
940 { nxt_string("image/jpeg"), ".jpeg" }, in nxt_http_static_mtypes_init()
941 { nxt_string("image/jpeg"), ".jpg" }, in nxt_http_static_mtypes_init()
942 { 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_http_variables.c19 { nxt_string("method"),
23 { nxt_string("request_uri"),
27 { nxt_string("uri"),
31 { nxt_string("host"),
H A Dnxt_main_process.c104 nxt_string("type"),
110 nxt_string("user"),
116 nxt_string("group"),
140 nxt_string("limits"),
150 nxt_string("shm"),
182 nxt_string("home"),
188 nxt_string("path"),
194 nxt_string("module"),
279 nxt_string("hooks"),
1242 nxt_string("src"),
[all …]
H A Dnxt_h1proto.c163 { nxt_string("Sec-WebSocket-Version"),
1109 nxt_string("HTTP/1.1 200 OK\r\n"),
1147 nxt_string("HTTP/1.1 410 Gone\r\n"),
1156 nxt_string("HTTP/1.1 419 \r\n"),
1157 nxt_string("HTTP/1.1 420 \r\n"),
1162 nxt_string("HTTP/1.1 425 \r\n"),
1164 nxt_string("HTTP/1.1 427 \r\n"),
1165 nxt_string("HTTP/1.1 428 \r\n"),
1166 nxt_string("HTTP/1.1 429 \r\n"),
1167 nxt_string("HTTP/1.1 430 \r\n"),
[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_isolation.c209 static nxt_str_t nsname = nxt_string("namespaces"); in nxt_isolation_set_namespaces()
235 static nxt_str_t uidname = nxt_string("uidmap"); in nxt_isolation_set_creds()
236 static nxt_str_t gidname = nxt_string("gidmap"); in nxt_isolation_set_creds()
274 nxt_string("container"), in nxt_isolation_credential_map()
280 nxt_string("host"), in nxt_isolation_credential_map()
286 nxt_string("size"), in nxt_isolation_credential_map()
445 static nxt_str_t rootfs_name = nxt_string("rootfs"); in nxt_isolation_set_rootfs()
485 static nxt_str_t automount_name = nxt_string("automount"); in nxt_isolation_set_automount()
487 static nxt_str_t tmp_name = nxt_string("tmpfs"); in nxt_isolation_set_automount()
488 static nxt_str_t proc_name = nxt_string("procfs"); in nxt_isolation_set_automount()
[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"),
582 nxt_string("pass"),
597 nxt_string("proxy"),
602 nxt_string("share"),
607 nxt_string("index"),
[all …]
H A Dnxt_router.c1305 nxt_string("type"),
1311 nxt_string("limits"),
1317 nxt_string("processes"),
1323 nxt_string("processes"),
1329 nxt_string("targets"),
1338 nxt_string("timeout"),
1347 nxt_string("spare"),
1353 nxt_string("max"),
1359 nxt_string("idle_timeout"),
1368 nxt_string("pass"),
[all …]
H A Dnxt_controller.c112 { nxt_string("Content-Length"),
1035 static nxt_str_t certificates = nxt_string("certificates"); in nxt_controller_process_request()
1037 static nxt_str_t config = nxt_string("config"); in nxt_controller_process_request()
1168 static const nxt_str_t empty_obj = nxt_string("{}"); in nxt_controller_process_config()
1966 static nxt_str_t success_str = nxt_string("success"); in nxt_controller_response()
1967 static nxt_str_t error_str = nxt_string("error"); in nxt_controller_response()
1968 static nxt_str_t detail_str = nxt_string("detail"); in nxt_controller_response()
1969 static nxt_str_t location_str = nxt_string("location"); in nxt_controller_response()
1970 static nxt_str_t offset_str = nxt_string("offset"); in nxt_controller_response()
1971 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()
H A Dnxt_php_sapi.c188 static const nxt_str_t chdir = nxt_string("chdir"); in PHP_MINIT_FUNCTION()
345 nxt_string("php"),
372 static nxt_str_t file_str = nxt_string("file"); in nxt_php_setup()
373 static nxt_str_t user_str = nxt_string("user"); in nxt_php_setup()
374 static nxt_str_t admin_str = nxt_string("admin"); in nxt_php_setup()
524 static nxt_str_t root_str = nxt_string("root"); in nxt_php_set_target()
525 static nxt_str_t script_str = nxt_string("script"); in nxt_php_set_target()
526 static nxt_str_t index_str = nxt_string("index"); in nxt_php_set_target()
H A Dnxt_upstream.c28 static nxt_str_t upstreams_name = nxt_string("upstreams"); in nxt_upstreams_create()
/unit/src/ruby/
H A Dnxt_ruby.c97 nxt_string("ruby"),
131 { nxt_string("80"), &nxt_rb_80_str },
133 { nxt_string("CONTENT_TYPE"), &nxt_rb_content_type_str },
134 { nxt_string("http"), &nxt_rb_http_str },
135 { nxt_string("https"), &nxt_rb_https_str },
136 { nxt_string("PATH_INFO"), &nxt_rb_path_info_str },
139 { nxt_string("REMOTE_ADDR"), &nxt_rb_remote_addr_str },
141 { nxt_string("REQUEST_URI"), &nxt_rb_request_uri_str },
142 { nxt_string("SERVER_ADDR"), &nxt_rb_server_addr_str },
143 { nxt_string("SERVER_NAME"), &nxt_rb_server_name_str },
[all …]

12