ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 0.6.30 @ linux amd64 & fcgi



Откат в версии 0.5.27 файла src/http/modules/ngx_http_fastcgi_module.c
до версии 0.2.26 проблему решает. Изменениний на первый взгляд там минимум:

diff -ur nginx-0.5.26/src/http/modules/ngx_http_fastcgi_module.c 
nginx-0.5.27/src/http/modules/ngx_http_fastcgi_module.c
--- nginx-0.5.26/src/http/modules/ngx_http_fastcgi_module.c 2007-06-04 
13:52:47.000000000 +0000
+++ nginx-0.5.27/src/http/modules/ngx_http_fastcgi_module.c 2007-07-09 
06:06:15.000000000 +0000
@@ -1144,16 +1144,16 @@
             return NGX_OK;
         }

-        if (u->buffer.pos == u->buffer.last) {
+        if (rc == NGX_OK) {
             return NGX_AGAIN;
         }

-        if (rc == NGX_AGAIN) {
-            ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
-                          "upstream split a header line in FastCGI records");
+        /* rc == NGX_AGAIN */

-            return NGX_HTTP_UPSTREAM_INVALID_HEADER;
-        }
+        ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
+                      "upstream split a header line in FastCGI records");
+
+        return NGX_HTTP_UPSTREAM_INVALID_HEADER;
     }
 }





 




Copyright © Lexa Software, 1996-2009.