Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 663:6d5c1535bb9d release-0.3.53
nginx-0.3.53-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Fri, 07 Jul 2006 16:33:19 +0000 |
parents | 5e8fb59c18c1 |
children | 5fd7a5e99047 |
comparison
equal
deleted
inserted
replaced
662:4c15f63afe65 | 663:6d5c1535bb9d |
---|---|
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); |