Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 3010:37400c84396e
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"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 04 Aug 2009 11:51:10 +0000 |
parents | 95972b9e790b |
children | 5957e869f04d |
comparison
equal
deleted
inserted
replaced
3009:9848a16d05ea | 3010:37400c84396e |
---|---|
1436 | 1436 |
1437 part = ngx_array_push(f->split_parts); | 1437 part = ngx_array_push(f->split_parts); |
1438 | 1438 |
1439 part->start = part_start; | 1439 part->start = part_start; |
1440 part->end = u->buffer.last; | 1440 part->end = u->buffer.last; |
1441 | |
1442 if (u->buffer.pos < u->buffer.last) { | |
1443 continue; | |
1444 } | |
1441 | 1445 |
1442 return NGX_AGAIN; | 1446 return NGX_AGAIN; |
1443 } | 1447 } |
1444 } | 1448 } |
1445 | 1449 |