comparison src/event/modules/ngx_epoll_module.c @ 505:f39b9e29530d NGINX_0_8_0

nginx 0.8.0 *) Feature: the "keepalive_requests" directive. *) Feature: the "limit_rate_after" directive. Thanks to Ivan Debnar. *) Bugfix: XLST filter did not work in subrequests. *) Bugfix: in relative paths handling in nginx/Windows. *) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and fastcgi_cache in nginx/Windows. *) Bugfix: in memory allocation error handling. Thanks to Maxim Dounin and Kirill A. Korinskiy.
author Igor Sysoev <http://sysoev.ru>
date Tue, 02 Jun 2009 00:00:00 +0400
parents 12defd37f578
children 86dad910eeb6
comparison
equal deleted inserted replaced
504:6d9fb4461113 505:f39b9e29530d
550 { 550 {
551 ngx_epoll_conf_t *epcf; 551 ngx_epoll_conf_t *epcf;
552 552
553 epcf = ngx_palloc(cycle->pool, sizeof(ngx_epoll_conf_t)); 553 epcf = ngx_palloc(cycle->pool, sizeof(ngx_epoll_conf_t));
554 if (epcf == NULL) { 554 if (epcf == NULL) {
555 return NGX_CONF_ERROR; 555 return NULL;
556 } 556 }
557 557
558 epcf->events = NGX_CONF_UNSET; 558 epcf->events = NGX_CONF_UNSET;
559 559
560 return epcf; 560 return epcf;