nxt_main_process.c (564:762f8c976ead) nxt_main_process.c (584:28e8e1877e62)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_runtime.h>

--- 168 unchanged lines hidden (view full) ---

177 {
178 nxt_string("script"),
179 NXT_CONF_MAP_CSTRZ,
180 offsetof(nxt_common_app_conf_t, u.perl.script),
181 },
182};
183
184
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_runtime.h>

--- 168 unchanged lines hidden (view full) ---

177 {
178 nxt_string("script"),
179 NXT_CONF_MAP_CSTRZ,
180 offsetof(nxt_common_app_conf_t, u.perl.script),
181 },
182};
183
184
185static nxt_conf_map_t nxt_ruby_app_conf[] = {
186 {
187 nxt_string("script"),
188 NXT_CONF_MAP_STR,
189 offsetof(nxt_common_app_conf_t, u.ruby.script),
190 },
191};
192
193
185static nxt_conf_app_map_t nxt_app_maps[] = {
186 { nxt_nitems(nxt_python_app_conf), nxt_python_app_conf },
187 { nxt_nitems(nxt_php_app_conf), nxt_php_app_conf },
188 { nxt_nitems(nxt_go_app_conf), nxt_go_app_conf },
189 { nxt_nitems(nxt_perl_app_conf), nxt_perl_app_conf },
194static nxt_conf_app_map_t nxt_app_maps[] = {
195 { nxt_nitems(nxt_python_app_conf), nxt_python_app_conf },
196 { nxt_nitems(nxt_php_app_conf), nxt_php_app_conf },
197 { nxt_nitems(nxt_go_app_conf), nxt_go_app_conf },
198 { nxt_nitems(nxt_perl_app_conf), nxt_perl_app_conf },
199 { nxt_nitems(nxt_ruby_app_conf), nxt_ruby_app_conf },
190};
191
192
193static void
194nxt_port_main_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
195{
196 nxt_debug(task, "main data: %*s",
197 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos);

--- 1077 unchanged lines hidden ---
200};
201
202
203static void
204nxt_port_main_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
205{
206 nxt_debug(task, "main data: %*s",
207 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos);

--- 1077 unchanged lines hidden ---