Mercurial > hg > nginx
diff src/http/modules/ngx_http_header_filter.c @ 8:708f8bb772ec
nginx-0.0.1-2002-09-02-18:48:24 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Sep 2002 14:48:24 +0000 |
parents | 34a521b1a148 |
children |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_header_filter.c +++ b/src/http/modules/ngx_http_header_filter.c @@ -2,6 +2,7 @@ #include <nginx.h> #include <ngx_config.h> +#include <ngx_core.h> #include <ngx_string.h> #include <ngx_hunk.h> #include <ngx_http.h> @@ -25,12 +26,8 @@ int ngx_http_header_filter(ngx_http_requ ngx_hunk_t *h; ngx_chain_t *ch; - ngx_test_null(h, ngx_get_hunk(r->pool, 1024, 0, 64), - /* STUB */ - -1); -/* - NGX_HTTP_FILTER_ERROR); -*/ + ngx_test_null(h, ngx_create_temp_hunk(r->pool, 1024, 0, 64), + NGX_ERROR); status = r->headers_out->status - NGX_HTTP_OK;