continue to parse available fastcgi record after a split header,

this fixes the erroneous message "upstream prematurely closed connection
while reading response header from upstream"
This commit is contained in:
Igor Sysoev committed 2009-08-04 11:51:10 +00:00
1 parent 5fab282698
commit 1b52828cd9
1 file changed
+4
@@ -1439,6 +1439,10 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
part->start = part_start;
part->end = u->buffer.last;
if (u->buffer.pos < u->buffer.last) {
continue;
}
return NGX_AGAIN;
}
}