# HG changeset patch # User Ruslan Ermilov # Date 1430304757 -10800 # Node ID b19350b896bb390a639a7e4cf099781b73cb4fa7 # Parent bc47a7a8159cc7d2b0d8804cab308f4c85ede19f Removed the deprecated "connections" directive. diff -r bc47a7a8159c -r b19350b896bb src/event/ngx_event.c --- a/src/event/ngx_event.c Tue Apr 28 18:55:03 2015 +0300 +++ b/src/event/ngx_event.c Wed Apr 29 13:52:37 2015 +0300 @@ -126,13 +126,6 @@ 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 @@ 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) {