From: Igor Sysoev Date: Sun, 10 Aug 2003 16:14:37 +0000 (+0000) Subject: nginx-0.0.1-2003-08-10-20:14:37 import X-Git-Tag: release-0.1.0~321 X-Git-Url: http://git.kaiwu.me/%7Bsubstring-before(@doc,%20'.xml')%7D.html?a=commitdiff_plain;h=98947e85ff75684276679316ded1f1c3c5449594;p=nginx.git nginx-0.0.1-2003-08-10-20:14:37 import --- diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index b948895a9..a1e17b2bc 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -22,6 +22,10 @@ /* the hunk is in file */ #define NGX_HUNK_FILE 0x0100 +#define NGX_HUNK_STORAGE (NGX_HUNK_IN_MEMORY + |NGX_HUNK_TEMP|NGX_HUNK_MEMORY|NGX_HUNK_MMAP + |NGX_HUNK_RECYCLED|NGX_HUNK_FILE) + /* hunk flags */ /* in thread state flush means to write the hunk completely before return */ diff --git a/src/http/modules/ngx_http_ssi_filter.c b/src/http/modules/ngx_http_ssi_filter.c index 857a8526e..f1cbbaaff 100644 --- a/src/http/modules/ngx_http_ssi_filter.c +++ b/src/http/modules/ngx_http_ssi_filter.c @@ -60,6 +60,19 @@ static int (*next_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); static char comment_string[] = "