comparison src/http/modules/ngx_http_fastcgi_module.c @ 274:052a7b1d40e5 NGINX_0_5_7

nginx 0.5.7 *) Feature: the ssl_session_cache storage optimization. *) Bugfixes in the "ssl_session_cache" and "limit_zone" directives. *) Bugfix: the segmentation fault was occurred on start or while reconfiguration if the "ssl_session_cache" or "limit_zone" directives were used on 64-bit platforms. *) Bugfix: a segmentation fault occurred if the "add_before_body" or "add_after_body" directives were used and there was no "Content-Type" header line in response. *) Bugfix: the OpenSSL library was always built with the threads support. Thanks to Den Ivanov. *) Bugfix: the PCRE-6.5+ library and the icc compiler compatibility.
author Igor Sysoev <http://sysoev.ru>
date Mon, 15 Jan 2007 00:00:00 +0300
parents 251bcd11a5b8
children c5c2b2883984
comparison
equal deleted inserted replaced
273:60df8db42ffb 274:052a7b1d40e5
1308 1308
1309 /* STUB */ b->num = buf->num; 1309 /* STUB */ b->num = buf->num;
1310 1310
1311 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, "input buf #%d", b->num); 1311 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, p->log, 0, "input buf #%d", b->num);
1312 1312
1313 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0,
1314 "input buf %p %z", b->pos, b->last - b->pos);
1315
1313 1316
1314 if (f->pos + f->length < f->last) { 1317 if (f->pos + f->length < f->last) {
1315 1318
1316 if (f->padding) { 1319 if (f->padding) {
1317 f->state = ngx_http_fastcgi_st_padding; 1320 f->state = ngx_http_fastcgi_st_padding;
1347 } 1350 }
1348 1351
1349 if (b) { 1352 if (b) {
1350 b->shadow = buf; 1353 b->shadow = buf;
1351 b->last_shadow = 1; 1354 b->last_shadow = 1;
1355
1356 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, p->log, 0,
1357 "input buf last %p %z", b->pos, b->last - b->pos);
1352 1358
1353 return NGX_OK; 1359 return NGX_OK;
1354 } 1360 }
1355 1361
1356 /* there is no data record in the buf, add it to free chain */ 1362 /* there is no data record in the buf, add it to free chain */