diff src/http/ngx_http_cache.c @ 172:caa57ddf6d77

nginx-0.0.1-2003-11-04-01:20:44 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 03 Nov 2003 22:20:44 +0000
parents aff0e5d32af8
children ea464a6c0581
line wrap: on
line diff
--- a/src/http/ngx_http_cache.c
+++ b/src/http/ngx_http_cache.c
@@ -80,9 +80,11 @@ ngx_log_debug(r->connection->log, "FILE:
     ctx->buf->last += n;
 
     if (ctx->header.expires < ngx_time()) {
-        return NGX_STALE;
+        return NGX_HTTP_CACHE_STALE;
     }
 
+    /* TODO: NGX_HTTP_CACHE_AGED */
+
     return NGX_OK;
 }