Lines Matching defs:date
819 apr_time_t exp, date, lastmod, now;
930 /* read expiry date; if a bad date, then leave it so the client can
944 /* read the last-modified date; if the date is bad, then delete it */
1121 != (date = apr_date_parse_http(
1123 && date < cache->stale_handle->cache_obj->info.date) {
1355 * the new date, last modified, expire and content length and write
1366 /* Read the date. Generate one if one is not supplied */
1372 info->date = apr_date_parse_http(dates);
1375 info->date = APR_DATE_BAD;
1379 if (info->date == APR_DATE_BAD) { /* No, or bad date */
1380 /* no date header (or bad header)! */
1381 info->date = now;
1383 date = info->date;
1391 /* check last-modified date */
1392 if (lastmod != APR_DATE_BAD && lastmod > date) {
1393 /* if it's in the future, then replace by date */
1394 lastmod = date;
1400 /* if no expiry date then
1402 * expiry date = date + max-age
1404 * expiry date = date + min((date - lastmod) * factor, maxexpire)
1406 * expire date = date + defaultexpire
1427 exp = date + x;
1429 else if ((lastmod != APR_DATE_BAD) && (lastmod < date)) {
1430 /* if lastmod == date then you get 0*conf->factor which results in
1434 apr_time_t x = (apr_time_t) ((date - lastmod) * dconf->factor);
1442 exp = date + x;
1445 exp = date + dconf->defex;
1933 /* factor used to estimate Expires date from LastModified date */
1972 /* factor used to estimate Expires date from LastModified date */
2566 "The factor used to estimate Expires date from "
2567 "LastModified date"),