Upstream timed out

Igor Sysoev is at rambler-co.ru
Sun Sep 9 15:17:21 MSD 2007


On Sun, Sep 09, 2007 at 11:57:32AM +0300, Vladimir Shiray wrote:

> >Пришлите мне отладочный лог тестирования с ошибками.

Прилагаемый патч должен помочь. Можно использовать для 0.5.x.


-- 
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: src/http/ngx_http_upstream.c
===================================================================
--- src/http/ngx_http_upstream.c	(revision 783)
+++ src/http/ngx_http_upstream.c	(working copy)
@@ -1490,6 +1490,11 @@
                 ngx_http_upstream_finalize_request(r, u, 0);
                 return;
             }
+
+            if (u->peer.connection->read->ready) {
+                ngx_http_upstream_process_non_buffered_body(
+                                                     u->peer.connection->read);
+            }
         }
 
         return;


More information about the nginx-ru mailing list