From b316011ab5e63ae72ccd2ebd41ace853d8d3882f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 22 Jul 2009 13:06:27 +0000 Subject: [PATCH] fix r2972, it caused "zero size buf" alert. --- src/http/ngx_http_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index a0fcd717f..f07472b33 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2715,6 +2715,7 @@ ngx_http_send_special(ngx_http_request_t *r, ngx_uint_t flags) b->last_buf = 1; } else { + b->sync = 1; b->last_in_chain = 1; } }