comparison src/http/ngx_http_request.c @ 287:35a6a9df2d25

nginx-0.0.2-2004-03-12-19:57:08 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Mar 2004 16:57:08 +0000
parents bdd631bf1a1c
children 87e73f067470
comparison
equal deleted inserted replaced
286:fc8dc489247e 287:35a6a9df2d25
1483 for (i = 0; i < r->cleanup.nelts; i++) { 1483 for (i = 0; i < r->cleanup.nelts; i++) {
1484 if (!cleanup[i].valid) { 1484 if (!cleanup[i].valid) {
1485 continue; 1485 continue;
1486 } 1486 }
1487 1487
1488 #if (NGX_HTTP_CACHE)
1489
1488 if (cleanup[i].cache) { 1490 if (cleanup[i].cache) {
1489 ngx_http_cache_unlock(cleanup[i].data.cache.hash, 1491 ngx_http_cache_unlock(cleanup[i].data.cache.hash,
1490 cleanup[i].data.cache.cache, log); 1492 cleanup[i].data.cache.cache, log);
1491 continue; 1493 continue;
1492 } 1494 }
1495
1496 #endif
1493 1497
1494 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http cleanup fd: %d", 1498 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http cleanup fd: %d",
1495 cleanup[i].data.file.fd); 1499 cleanup[i].data.file.fd);
1496 1500
1497 if (ngx_close_file(cleanup[i].data.file.fd) == NGX_FILE_ERROR) { 1501 if (ngx_close_file(cleanup[i].data.file.fd) == NGX_FILE_ERROR) {