Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_fastcgi_module.c @ 639:715d24327080 release-0.3.41
nginx-0.3.41-RELEASE import
*) Feature: the -v switch.
*) Bugfix: the segmentation fault may occurred if the SSI page has
remote subrequests.
*) Bugfix: in FastCGI handling.
*) Bugfix: if the perl modules path was not set using
--with-perl_modules_path=PATH or the "perl_modules", then the
segmentation fault was occurred.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 21 Apr 2006 12:06:44 +0000 |
parents | e60fe4cf1d4e |
children | 1e720b0be7ec |
comparison
equal
deleted
inserted
replaced
638:76bf795b5a02 | 639:715d24327080 |
---|---|
1171 /* f->state == ngx_http_fastcgi_st_data */ | 1171 /* f->state == ngx_http_fastcgi_st_data */ |
1172 | 1172 |
1173 if (f->type == NGX_HTTP_FASTCGI_STDERR) { | 1173 if (f->type == NGX_HTTP_FASTCGI_STDERR) { |
1174 | 1174 |
1175 if (f->length) { | 1175 if (f->length) { |
1176 | |
1177 if (f->pos == f->last) { | |
1178 break; | |
1179 } | |
1180 | |
1176 line.data = f->pos; | 1181 line.data = f->pos; |
1177 | 1182 |
1178 if (f->pos + f->length <= f->last) { | 1183 if (f->pos + f->length <= f->last) { |
1179 line.len = f->length; | 1184 line.len = f->length; |
1180 f->pos += f->length; | 1185 f->pos += f->length; |
1209 continue; | 1214 continue; |
1210 } | 1215 } |
1211 | 1216 |
1212 | 1217 |
1213 /* f->type == NGX_HTTP_FASTCGI_STDOUT */ | 1218 /* f->type == NGX_HTTP_FASTCGI_STDOUT */ |
1219 | |
1220 if (f->pos == f->last) { | |
1221 break; | |
1222 } | |
1214 | 1223 |
1215 if (p->free) { | 1224 if (p->free) { |
1216 b = p->free->buf; | 1225 b = p->free->buf; |
1217 p->free = p->free->next; | 1226 p->free = p->free->next; |
1218 | 1227 |