]> git.kaiwu.me - nginx.git/commitdiff
fix error introduced in r1273 and r1275:
authorIgor Sysoev <igor@sysoev.ru>
Thu, 8 May 2008 09:53:22 +0000 (09:53 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 8 May 2008 09:53:22 +0000 (09:53 +0000)
nginx did not process FastCGI response if header was at end of FastCGI record

src/http/modules/ngx_http_fastcgi_module.c

index 5678e21f36921dd0310beddfd3696a1668d9ef85..17e8a3dbf91f1b7528d6a6238e1999c31fdb2106 100644 (file)
@@ -1232,7 +1232,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
         }
 
         if (rc == NGX_OK) {
-            return NGX_AGAIN;
+            continue;
         }
 
         /* rc == NGX_AGAIN */