Home
last modified time | relevance | path

Searched refs:unit_init (Results 1 – 2 of 2) sorted by last modified time

/unit/src/
H A Dnxt_unit.c837 char *unit_init, *version_end, *vars; in nxt_unit_read_env() local
842 unit_init = getenv(NXT_UNIT_INIT_ENV); in nxt_unit_read_env()
843 if (nxt_slow_path(unit_init == NULL)) { in nxt_unit_read_env()
850 version_end = strchr(unit_init, ';'); in nxt_unit_read_env()
853 NXT_UNIT_INIT_ENV, unit_init); in nxt_unit_read_env()
858 version_length = version_end - unit_init; in nxt_unit_read_env()
861 || memcmp(unit_init, NXT_VERSION, nxt_length(NXT_VERSION)); in nxt_unit_read_env()
866 (int) version_length, unit_init, NXT_VERSION); in nxt_unit_read_env()
901 nxt_unit_debug(NULL, "%s='%s'", NXT_UNIT_INIT_ENV, unit_init); in nxt_unit_read_env()
/unit/src/nodejs/unit-http/
H A Dunit.cpp253 nxt_unit_init_t unit_init; in create_server() local
266 memset(&unit_init, 0, sizeof(nxt_unit_init_t)); in create_server()
268 unit_init.data = obj; in create_server()
269 unit_init.callbacks.request_handler = request_handler_cb; in create_server()
271 unit_init.callbacks.close_handler = close_handler_cb; in create_server()
272 unit_init.callbacks.shm_ack_handler = shm_ack_handler_cb; in create_server()
273 unit_init.callbacks.add_port = add_port; in create_server()
274 unit_init.callbacks.remove_port = remove_port; in create_server()
275 unit_init.callbacks.quit = quit_cb; in create_server()
277 unit_init.request_data_size = sizeof(req_data_t); in create_server()
[all …]