diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2015-04-29 13:52:37 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2015-04-29 13:52:37 +0300 |
| commit | 3ceffb53fe4c03d823311e970ef6bd002870e0a5 (patch) | |
| tree | 153f0211133c1f04e63b6e4f03f0e42a04a30839 /src/event/ngx_event.c | |
| parent | 89ad9ea30946dacb2fcf088a97f5a40d3b408d2c (diff) | |
| download | nginx-3ceffb53fe4c03d823311e970ef6bd002870e0a5.tar.gz nginx-3ceffb53fe4c03d823311e970ef6bd002870e0a5.tar.bz2 | |
Removed the deprecated "connections" directive.
Diffstat (limited to 'src/event/ngx_event.c')
| -rw-r--r-- | src/event/ngx_event.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c index 5ca6e826a..4610acb00 100644 --- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -126,13 +126,6 @@ static ngx_command_t ngx_event_core_commands[] = { 0, NULL }, - { ngx_string("connections"), - NGX_EVENT_CONF|NGX_CONF_TAKE1, - ngx_event_connections, - 0, - 0, - NULL }, - { ngx_string("use"), NGX_EVENT_CONF|NGX_CONF_TAKE1, ngx_event_use, @@ -956,12 +949,6 @@ ngx_event_connections(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return "is duplicate"; } - if (ngx_strcmp(cmd->name.data, "connections") == 0) { - ngx_conf_log_error(NGX_LOG_WARN, cf, 0, - "the \"connections\" directive is deprecated, " - "use the \"worker_connections\" directive instead"); - } - value = cf->args->elts; ecf->connections = ngx_atoi(value[1].data, value[1].len); if (ecf->connections == (ngx_uint_t) NGX_ERROR) { |
