comparison src/http/modules/ngx_http_fastcgi_module.c @ 3494:67b8a4e0d7e1

fix building without HTTP cache, the bug had been introduced in r3461
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Apr 2010 11:49:36 +0000
parents 08a66ba99191
children dd1570b6f237
comparison
equal deleted inserted replaced
3493:9c0335d511e5 3494:67b8a4e0d7e1
1099 ngx_buf_t buf; 1099 ngx_buf_t buf;
1100 ngx_uint_t i; 1100 ngx_uint_t i;
1101 ngx_table_elt_t *h; 1101 ngx_table_elt_t *h;
1102 ngx_http_upstream_t *u; 1102 ngx_http_upstream_t *u;
1103 ngx_http_fastcgi_ctx_t *f; 1103 ngx_http_fastcgi_ctx_t *f;
1104 ngx_http_fastcgi_header_t *fh;
1105 ngx_http_upstream_header_t *hh; 1104 ngx_http_upstream_header_t *hh;
1106 ngx_http_fastcgi_loc_conf_t *flcf; 1105 ngx_http_fastcgi_loc_conf_t *flcf;
1107 ngx_http_fastcgi_split_part_t *part; 1106 ngx_http_fastcgi_split_part_t *part;
1108 ngx_http_upstream_main_conf_t *umcf; 1107 ngx_http_upstream_main_conf_t *umcf;
1109 1108
1253 /* f->type == NGX_HTTP_FASTCGI_STDOUT */ 1252 /* f->type == NGX_HTTP_FASTCGI_STDOUT */
1254 1253
1255 #if (NGX_HTTP_CACHE) 1254 #if (NGX_HTTP_CACHE)
1256 1255
1257 if (f->large_stderr && r->cache) { 1256 if (f->large_stderr && r->cache) {
1258 u_char *start; 1257 u_char *start;
1259 ssize_t len; 1258 ssize_t len;
1259 ngx_http_fastcgi_header_t *fh;
1260 1260
1261 start = u->buffer.start + r->cache->header_start; 1261 start = u->buffer.start + r->cache->header_start;
1262 1262
1263 len = u->buffer.pos - start - 2 * sizeof(ngx_http_fastcgi_header_t); 1263 len = u->buffer.pos - start - 2 * sizeof(ngx_http_fastcgi_header_t);
1264 1264