diff src/http/ngx_http_write_filter_module.c @ 62:0790a8599248 NGINX_0_1_31

nginx 0.1.31 *) Bugfix: the response encrypted by SSL may not transferred complete. *) Bugfix: errors while processing FastCGI response by SSI. *) Bugfix: errors while using SSI and gzipping. *) Bugfix: the redirect with the 301 code was transferred without response body; bug appeared in 0.1.30.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 May 2005 00:00:00 +0400
parents df7d3fff122b
children da9a3b14312d
line wrap: on
line diff
--- a/src/http/ngx_http_write_filter_module.c
+++ b/src/http/ngx_http_write_filter_module.c
@@ -168,17 +168,6 @@ ngx_http_write_filter(ngx_http_request_t
         return NGX_OK;
     }
 
-#if 0
-    /*
-     * avoid the output if there are no incoming bufs but there are
-     * the postponed requests or data
-     */
-
-    if (in == NULL && r->postponed) {
-        return NGX_OK;
-    }
-#endif
-
     if (c->write->delayed) {
         return NGX_AGAIN;
     }
@@ -232,7 +221,7 @@ ngx_http_write_filter(ngx_http_request_t
 
     r->out = chain;
 
-    if (chain || (last && c->buffered)) {
+    if (chain || c->buffered) {
         return NGX_AGAIN;
     }