aboutsummaryrefslogtreecommitdiff
path: root/src/event/ngx_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ngx_event.c')
-rw-r--r--src/event/ngx_event.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index 7a4d7594e..4fc98e937 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -432,8 +432,10 @@ ngx_event_module_init(ngx_cycle_t *cycle)
ecf = (*cf)[ngx_event_core_module.ctx_index];
- ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,
- "using the \"%s\" event method", ecf->name);
+ if (!ngx_test_config) {
+ ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,
+ "using the \"%s\" event method", ecf->name);
+ }
ccf = (ngx_core_conf_t *) ngx_get_conf(cycle->conf_ctx, ngx_core_module);
@@ -738,9 +740,6 @@ ngx_event_process_init(ngx_cycle_t *cycle)
c->listening = &ls[i];
ls[i].connection = c;
- c->ctx = ls[i].ctx;
- c->servers = ls[i].servers;
-
rev = c->read;
rev->log = c->log;