nginx-0.8.37

Igor Sysoev igor на sysoev.ru
Пн Май 17 13:52:08 MSD 2010


On Mon, May 17, 2010 at 01:46:16PM +0400, Igor Sysoev wrote:

> On Mon, May 17, 2010 at 03:47:06PM +0700, Artem Bokhan wrote:
> 
> > 17.05.2010 13:15, Igor Sysoev пишет:
> > >      *) Исправление: параметр stub в SSI-директиве include не использовался,
> > >         если пустой ответ имел код 200.
> > >
> > >    
> > 
> > А на седьмую ветку патч можно?
> 
> Вот, там будет fuzz, но должно быть нормально.

Патч.


-- 
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: src/http/ngx_http_copy_filter_module.c
===================================================================
--- src/http/ngx_http_copy_filter_module.c	(revision 2837)
+++ src/http/ngx_http_copy_filter_module.c	(revision 2838)
@@ -126,7 +126,9 @@
         }
 #endif
 
-        r->request_output = 1;
+        if (in && in->buf && ngx_buf_size(in->buf)) {
+            r->request_output = 1;
+        }
     }
 
 #if (NGX_HAVE_FILE_AIO)


Подробная информация о списке рассылки nginx-ru