comparison 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
comparison
equal deleted inserted replaced
171:aff0e5d32af8 172:caa57ddf6d77
78 } 78 }
79 79
80 ctx->buf->last += n; 80 ctx->buf->last += n;
81 81
82 if (ctx->header.expires < ngx_time()) { 82 if (ctx->header.expires < ngx_time()) {
83 return NGX_STALE; 83 return NGX_HTTP_CACHE_STALE;
84 } 84 }
85
86 /* TODO: NGX_HTTP_CACHE_AGED */
85 87
86 return NGX_OK; 88 return NGX_OK;
87 } 89 }
88 90
89 91