comparison src/event/ngx_event.c @ 212:56688ed172c8 NGINX_0_3_53

nginx 0.3.53 *) Change: the "add_header" directive adds the string to 204, 301, and 302 responses. *) Feature: the "server" directive in the "upstream" context supports the "weight" parameter. *) Feature: the "server_name" directive supports the "*" wildcard. *) Feature: nginx supports the request body size more than 2G. *) Bugfix: if a client was successfully authorized using "satisfy_any on", then anyway the message "access forbidden by rule" was written in the log. *) Bugfix: the "PUT" method may erroneously not create a file and return the 409 code. *) Bugfix: if the IMAP/POP3 backend returned an error, then nginx continued proxying anyway.
author Igor Sysoev <http://sysoev.ru>
date Fri, 07 Jul 2006 00:00:00 +0400
parents 3689cd4e3228
children 0ad9eeb6ac7f
comparison
equal deleted inserted replaced
211:f04a54878110 212:56688ed172c8
1203 if (module == NULL) { 1203 if (module == NULL) {
1204 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, "no events module found"); 1204 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, "no events module found");
1205 return NGX_CONF_ERROR; 1205 return NGX_CONF_ERROR;
1206 } 1206 }
1207 1207
1208 ngx_conf_init_unsigned_value(ecf->connections, connections); 1208 ngx_conf_init_uint_value(ecf->connections, connections);
1209 cycle->connection_n = ecf->connections; 1209 cycle->connection_n = ecf->connections;
1210 1210
1211 ngx_conf_init_unsigned_value(ecf->use, module->ctx_index); 1211 ngx_conf_init_uint_value(ecf->use, module->ctx_index);
1212 1212
1213 event_module = module->ctx; 1213 event_module = module->ctx;
1214 ngx_conf_init_ptr_value(ecf->name, event_module->name->data); 1214 ngx_conf_init_ptr_value(ecf->name, event_module->name->data);
1215 1215
1216 ngx_conf_init_value(ecf->multi_accept, 0); 1216 ngx_conf_init_value(ecf->multi_accept, 0);