aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 33355870..7cf08122 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -24,6 +24,7 @@ static char *ngx_set_cpu_affinity(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static char *ngx_set_worker_processes(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
+void ngx_ofp_init();
static ngx_conf_enum_t ngx_debug_points[] = {
@@ -204,6 +205,12 @@ main(int argc, char *const *argv)
/* TODO */ ngx_max_sockets = -1;
+ /* ofp */
+ printf("signal is :%s\n", ngx_signal);
+ if (!ngx_signal) {
+ ngx_ofp_init();
+ }
+
ngx_time_init();
#if (NGX_PCRE)