Searched refs:mtime (Results 1 - 25 of 27) sorted by relevance

12

/httpd/modules/http/
H A Dhttp_etag.c101 if ((r->request_time - r->mtime > (1 * APR_USEC_PER_SEC)) &&
113 * ETag gets set to [W/]"inode-size-mtime", modulo any
141 next = etag_uint64_to_hex(next, r->mtime);
148 * Not a file document, so just use the mtime: [W/]"mtime"
159 next = etag_uint64_to_hex(next, r->mtime);
H A Dhttp_protocol.c338 apr_int64_t mtime, reqtime; local
345 mtime = apr_time_sec(apr_date_parse_http(
347 if (mtime == APR_DATE_BAD) {
348 mtime = apr_time_sec(r->mtime ? r->mtime : apr_time_now());
357 if ((ius != APR_DATE_BAD) && (mtime > ius)) {
358 if (reqtime < mtime + 60) {
427 apr_int64_t mtime; local
434 mtime
489 apr_int64_t mtime; local
[all...]
H A Dhttp_request.c580 r->mtime = rr->mtime;
/httpd/
H A Dap.d26 int64_t mtime;
/httpd/modules/cache/
H A Dmod_file_cache.c198 apr_rfc822_date(new_file->mtimestr, new_file->finfo.mtime);
341 ap_update_mtime(r, match->finfo.mtime);
343 /* ap_set_last_modified() always converts the file mtime to a string
351 mod_time = ap_rationalize_mtime(r, r->mtime);
352 if (mod_time == match->finfo.mtime)
H A Dcache_util.c272 finfo.mtime = 0;
341 if ((status == APR_SUCCESS) && (((now - finfo.mtime) > conf->lockmaxage)
342 || (now < finfo.mtime))) {
/httpd/modules/ssl/
H A Dssl_engine_pphrase.c51 apr_time_t *mtime)
66 if (mtime) {
67 *mtime = sbuf.mtime;
177 * file name/mtime hasn't changed, then reuse the existing key.
364 /* remember mtime of encrypted keys */
50 exists_and_readable(const char *fname, apr_pool_t *pool, apr_time_t *mtime) argument
/httpd/modules/proxy/
H A Dmod_proxy_ftp.c996 apr_time_t mtime = 0L; local
1842 mtime = timegm(&tms);
1843 mtime *= APR_USEC_PER_SEC;
1848 mtime = mktime(&tms);
1849 mtime += tms.tm_gmtoff;
1850 mtime *= APR_USEC_PER_SEC;
1852 mtime = 0L;
1978 if (mtime != 0L) {
1980 apr_rfc822_date(datestr, mtime);
/httpd/modules/lua/
H A Dlua_vmprep.c513 if ((cache_info->modified == lua_finfo.mtime && cache_info->size == lua_finfo.size)
517 cache_info->modified = lua_finfo.mtime;
H A Dlua_request.c975 * lua_apr_touch; r:touch(string [, time]) - Sets mtime of a file
982 apr_time_t mtime; local
987 mtime = (apr_time_t)luaL_optnumber(L, 3, (lua_Number)apr_time_now());
988 status = apr_file_mtime_set(path, mtime, r->pool);
1490 lua_pushstring(L, "mtime");
1491 lua_pushnumber(L, (lua_Number) file_info.mtime);
/httpd/include/
H A Dhttp_protocol.h120 * Return the latest rational time from a request/mtime pair. Mtime is
123 * @param mtime The last modified time
126 AP_DECLARE(apr_time_t) ap_rationalize_mtime(request_rec *r, apr_time_t mtime);
H A Dhttpd.h877 apr_time_t mtime; member in struct:request_rec
/httpd/modules/mappers/
H A Dmod_rewrite.c362 /* cached maps contain an mtime for the whole map and live in a subpool
366 apr_time_t mtime; member in struct:__anon241
1015 map->mtime = t;
1019 else if (map->mtime != t) {
1022 map->mtime = t;
1057 if (map->mtime != t) {
1060 map->mtime = t;
1611 value = get_cache_value(s->cachename, st.mtime, key, r->pool);
1620 set_cache_value(s->cachename, st.mtime, key, "");
1626 set_cache_value(s->cachename, st.mtime, ke
[all...]
H A Dmod_negotiation.c330 ap_update_mtime(vlistr, vlistr->finfo.mtime);
3006 * ap_update_mtime(r, r->finfo.mtime);
3140 * should tally the last mtime amoung all variants, and date
3143 r->mtime = 0;
/httpd/modules/test/
H A Dmod_dialup.c182 ap_update_mtime(r, r->finfo.mtime);
/httpd/support/
H A Dhtcacheclean.c720 d->htime = info.mtime;
738 d->dtime = info.mtime;
1729 previous = info.mtime;
1747 if (previous != info.mtime) {
1750 previous = info.mtime;
1780 previous = info.mtime;
/httpd/modules/metadata/
H A Dmod_expires.c407 base = r->finfo.mtime;
H A Dmod_mime_magic.c197 char mtime[12]; member in struct:record::header
/httpd/server/
H A Dprotocol.c165 * Return the latest rational time from a request/mtime (modification time)
166 * pair. We return the mtime unless it's in the future, in which case we
169 * unless the mtime is at least as new as the reference.
171 AP_DECLARE(apr_time_t) ap_rationalize_mtime(request_rec *r, apr_time_t mtime)
184 now = (mtime < r->request_time) ? r->request_time : apr_time_now();
185 return (mtime > now) ? now : mtime;
1841 * of the mtime field in the request structure - rationalized to keep it from
1847 apr_time_t mod_time = ap_rationalize_mtime(r, r->mtime);
H A Dutil_expr_eval.c1251 && sb.filetype == APR_REG && sb.mtime > 0)
1252 return apr_psprintf(ctx->p, "%" APR_OFF_T_FMT, sb.mtime);
1521 apr_time_exp_lt(&tm, r->mtime);
H A Drequest.c2423 * Function to set the r->mtime field to the specified value if it's later
2428 if (r->mtime < dependency_mtime) {
2429 r->mtime = dependency_mtime;
/httpd/modules/dav/fs/
H A Drepos.c1052 /* make sure the proper mtime is in the request record */
1053 ap_update_mtime(r, resource->info->finfo.mtime);
1872 (apr_uint64_t) ctx->finfo.mtime);
1876 (apr_uint64_t) ctx->finfo.mtime);
1961 resource->info->finfo.mtime,
/httpd/modules/filters/
H A Dmod_include.c632 val = ap_ht_time(r->pool, r->finfo.mtime, timefmt, 0);
2107 ap_ht_time(r->pool, r->finfo.mtime,
2272 t_val = ap_ht_time(ctx->pool, finfo.mtime, ctx->time_str, 0);
3882 r->finfo.mtime = r->main->finfo.mtime;
3921 ap_update_mtime(r, r->finfo.mtime);
3933 ap_update_mtime(r, r->finfo.mtime);
/httpd/modules/generators/
H A Dmod_autoindex.c1371 p->lm = rr->finfo.mtime;
2053 ap_update_mtime(r, r->finfo.mtime);
/httpd/modules/cluster/
H A Dmod_heartmonitor.c270 fage = apr_time_sec(now - fi.mtime);

Completed in 1128 milliseconds

12