Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 1998:63c60504c0bf
fix error introduced in r1273 and r1275:
nginx did not process FastCGI response if header was at end of FastCGI record
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 May 2008 09:53:22 +0000 |
parents | ab18958e1322 |
children | f1cff424caeb a60b3fcf25ec |
comparison
equal
deleted
inserted
replaced
1988:34051c712e41 | 1998:63c60504c0bf |
---|---|
1230 if (rc == NGX_HTTP_PARSE_HEADER_DONE) { | 1230 if (rc == NGX_HTTP_PARSE_HEADER_DONE) { |
1231 return NGX_OK; | 1231 return NGX_OK; |
1232 } | 1232 } |
1233 | 1233 |
1234 if (rc == NGX_OK) { | 1234 if (rc == NGX_OK) { |
1235 return NGX_AGAIN; | 1235 continue; |
1236 } | 1236 } |
1237 | 1237 |
1238 /* rc == NGX_AGAIN */ | 1238 /* rc == NGX_AGAIN */ |
1239 | 1239 |
1240 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1240 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |