nginx-0.0.1-2003-07-01-19:00:03 import
diff --git a/src/event/modules/ngx_poll_module.c b/src/event/modules/ngx_poll_module.c index a49afea..b03ed17 100644 --- a/src/event/modules/ngx_poll_module.c +++ b/src/event/modules/ngx_poll_module.c
@@ -58,7 +58,7 @@ { ngx_event_conf_t *ecf; - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); ngx_test_null(event_list, ngx_alloc(sizeof(struct pollfd) * ecf->connections, log),
diff --git a/src/event/modules/ngx_select_module.c b/src/event/modules/ngx_select_module.c index 96a5d67..a55be30 100644 --- a/src/event/modules/ngx_select_module.c +++ b/src/event/modules/ngx_select_module.c
@@ -70,7 +70,7 @@ { ngx_event_conf_t *ecf; - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); FD_ZERO(&master_read_fd_set); FD_ZERO(&master_write_fd_set); @@ -376,7 +376,7 @@ { ngx_event_conf_t *ecf; - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); /* the default FD_SETSIZE is 1024U in FreeBSD 5.x */
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c index f6d10cc..263d88e 100644 --- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c
@@ -65,9 +65,9 @@ }; -static ngx_str_t event_name = ngx_string("event"); +static ngx_str_t event_core_name = ngx_string("event_core"); -static ngx_command_t ngx_event_commands[] = { +static ngx_command_t ngx_event_core_commands[] = { {ngx_string("connections"), NGX_EVENT_CONF|NGX_CONF_TAKE1, @@ -94,8 +94,8 @@ }; -ngx_event_module_t ngx_event_module_ctx = { - &event_name, +ngx_event_module_t ngx_event_core_module_ctx = { + &event_core_name, ngx_event_create_conf, /* create configuration */ ngx_event_init_conf, /* init configuration */ @@ -103,10 +103,10 @@ }; -ngx_module_t ngx_event_module = { +ngx_module_t ngx_event_core_module = { NGX_MODULE, - &ngx_event_module_ctx, /* module context */ - ngx_event_commands, /* module directives */ + &ngx_event_core_module_ctx, /* module context */ + ngx_event_core_commands, /* module directives */ NGX_EVENT_MODULE, /* module type */ NULL /* init module */ }; @@ -125,7 +125,7 @@ ngx_iocp_conf_t *iocpcf; #endif - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); ngx_log_debug(log, "CONN: %d" _ ecf->connections); ngx_log_debug(log, "TYPE: %d" _ ecf->use);
diff --git a/src/event/ngx_event.h b/src/event/ngx_event.h index 9b6dd23..8ae2b53 100644 --- a/src/event/ngx_event.h +++ b/src/event/ngx_event.h
@@ -345,7 +345,7 @@ extern ngx_module_t ngx_events_module; -extern ngx_module_t ngx_event_module; +extern ngx_module_t ngx_event_core_module; #define ngx_event_get_conf(module) \
diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c index 7e87761..2d2eed4 100644 --- a/src/event/ngx_event_accept.c +++ b/src/event/ngx_event_accept.c
@@ -17,7 +17,7 @@ ngx_connection_t *c, *ls; ngx_event_conf_t *ecf; - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); ls = ev->data;
diff --git a/src/event/ngx_event_timer.c b/src/event/ngx_event_timer.c index a49cc92..9ca3fe5 100644 --- a/src/event/ngx_event_timer.c +++ b/src/event/ngx_event_timer.c
@@ -15,7 +15,7 @@ ngx_event_t *new_queue; ngx_event_conf_t *ecf; - ecf = ngx_event_get_conf(ngx_event_module); + ecf = ngx_event_get_conf(ngx_event_core_module); if (ngx_timer_queue_num < ecf->timer_queues) { ngx_test_null(new_queue,