Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_headers_filter_module.c @ 3237:2efa8d2fcde1 stable-0.7
merge r2903, r2911, r2912, r3002:
fix various failures handling
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 15:54:29 +0000 |
parents | 2a301c21256a |
children | 6cc74c87c656 |
comparison
equal
deleted
inserted
replaced
3236:9aa8fd2d5a00 | 3237:2efa8d2fcde1 |
---|---|
419 { | 419 { |
420 ngx_http_headers_conf_t *conf; | 420 ngx_http_headers_conf_t *conf; |
421 | 421 |
422 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_headers_conf_t)); | 422 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_headers_conf_t)); |
423 if (conf == NULL) { | 423 if (conf == NULL) { |
424 return NGX_CONF_ERROR; | 424 return NULL; |
425 } | 425 } |
426 | 426 |
427 /* | 427 /* |
428 * set by ngx_pcalloc(): | 428 * set by ngx_pcalloc(): |
429 * | 429 * |