Mercurial > hg > nginx-ranges
comparison src/mail/ngx_mail_core_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 | 98143f74eb3d |
children |
comparison
equal
deleted
inserted
replaced
504:6d9fb4461113 | 505:f39b9e29530d |
---|---|
118 { | 118 { |
119 ngx_mail_core_main_conf_t *cmcf; | 119 ngx_mail_core_main_conf_t *cmcf; |
120 | 120 |
121 cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_main_conf_t)); | 121 cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_main_conf_t)); |
122 if (cmcf == NULL) { | 122 if (cmcf == NULL) { |
123 return NGX_CONF_ERROR; | 123 return NULL; |
124 } | 124 } |
125 | 125 |
126 if (ngx_array_init(&cmcf->servers, cf->pool, 4, | 126 if (ngx_array_init(&cmcf->servers, cf->pool, 4, |
127 sizeof(ngx_mail_core_srv_conf_t *)) | 127 sizeof(ngx_mail_core_srv_conf_t *)) |
128 != NGX_OK) | 128 != NGX_OK) |
129 { | 129 { |
130 return NGX_CONF_ERROR; | 130 return NULL; |
131 } | 131 } |
132 | 132 |
133 if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_mail_listen_t)) | 133 if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_mail_listen_t)) |
134 != NGX_OK) | 134 != NGX_OK) |
135 { | 135 { |
136 return NGX_CONF_ERROR; | 136 return NULL; |
137 } | 137 } |
138 | 138 |
139 return cmcf; | 139 return cmcf; |
140 } | 140 } |
141 | 141 |