Mercurial > hg > nginx-vendor-0-5
comparison src/http/modules/ngx_http_fastcgi_module.c @ 314:8f0416b14242 NGINX_0_5_27
nginx 0.5.27
*) Bugfix: if remote SSI subrequest was used, then posterior local file
subrequest might transferred to client in wrong order.
*) Bugfix: large SSI inclusions buffered in temporary files were
truncated.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 09 Jul 2007 00:00:00 +0400 |
parents | 55328d69b335 |
children | 3021f899881a |
comparison
equal
deleted
inserted
replaced
313:1708cc3ec3be | 314:8f0416b14242 |
---|---|
1142 | 1142 |
1143 if (rc == NGX_HTTP_PARSE_HEADER_DONE) { | 1143 if (rc == NGX_HTTP_PARSE_HEADER_DONE) { |
1144 return NGX_OK; | 1144 return NGX_OK; |
1145 } | 1145 } |
1146 | 1146 |
1147 if (u->buffer.pos == u->buffer.last) { | 1147 if (rc == NGX_OK) { |
1148 return NGX_AGAIN; | 1148 return NGX_AGAIN; |
1149 } | 1149 } |
1150 | 1150 |
1151 if (rc == NGX_AGAIN) { | 1151 /* rc == NGX_AGAIN */ |
1152 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, | 1152 |
1153 "upstream split a header line in FastCGI records"); | 1153 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, |
1154 | 1154 "upstream split a header line in FastCGI records"); |
1155 return NGX_HTTP_UPSTREAM_INVALID_HEADER; | 1155 |
1156 } | 1156 return NGX_HTTP_UPSTREAM_INVALID_HEADER; |
1157 } | 1157 } |
1158 } | 1158 } |
1159 | 1159 |
1160 | 1160 |
1161 static ngx_int_t | 1161 static ngx_int_t |