Searched refs:now (Results 1 - 21 of 21) sorted by relevance

/httpd/server/
H A Dconnection.c95 /* we now proceed to read from the client until we get EOF, or until
154 apr_time_t now, timeup = 0; local
178 now = apr_time_now();
182 * calculate now + 30 seconds (MAX_SECS_TO_LINGER).
189 timeup = now + apr_time_from_sec(SECONDS_TO_LINGER);
192 timeup = now + apr_time_from_sec(MAX_SECS_TO_LINGER);
196 } while (now < timeup);
H A Dprotocol.c173 apr_time_t now; local
184 now = (mtime < r->request_time) ? r->request_time : apr_time_now();
185 return (mtime > now) ? now : mtime;
315 /* We've now processed that new data - update accordingly. */
382 /* Do we have enough space? We may be full now. */
952 * now part of r->headers_in
1169 * now read. may update status.
1530 /* If we've now seen the entire response and it's otherwise
1531 * okay to set the C-L in the response header, then do so now
[all...]
/httpd/modules/cache/
H A Dmod_socache_shmcb.c278 apr_time_t now);
579 apr_time_t now = apr_time_now(); local
591 shmcb_subcache_expire(s, header, subcache, now);
620 if (now < average_expiry)
622 (int)apr_time_sec(average_expiry - now),
623 (int)apr_time_sec(min_expiry - now),
624 (int)apr_time_sec(max_expiry - now));
655 if (now < average_expiry) {
656 ap_rprintf(r, "CacheTimeLeftOldestAvg: %d\n", (int)apr_time_sec(average_expiry - now));
657 ap_rprintf(r, "CacheTimeLeftOldestMin: %d\n", (int)apr_time_sec(min_expiry - now));
683 apr_time_t now = apr_time_now(); local
704 shmcb_subcache_expire(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, apr_time_t now) argument
861 apr_time_t now = apr_time_now(); local
953 shmcb_subcache_iterate(ap_socache_instance_t *instance, server_rec *s, void *userctx, SHMCBHeader *header, SHMCBSubcache *subcache, ap_socache_iterator_t *iterator, unsigned char **buf, apr_size_t *buf_len, apr_pool_t *pool, apr_time_t now) argument
[all...]
H A Dmod_socache_dbm.c270 apr_time_t now; local
317 now = apr_time_now();
318 if (expiry <= now) {
367 apr_time_t now; local
374 now = apr_time_now();
376 if (now < ctx->last_expiry + ctx->expiry_interval) {
380 ctx->last_expiry = now;
422 if (expiry <= now)
526 apr_time_t now; local
532 now
[all...]
H A Dmod_cache.h132 apr_time_t now);
H A Dcache_util.c187 /* Stop searching now. */
215 apr_time_t now)
229 resident_time = now - info->response_time;
267 apr_time_t now = apr_time_now(); local
341 if ((status == APR_SUCCESS) && (((now - finfo.mtime) > conf->lockmaxage)
342 || (now < finfo.mtime))) {
531 * We now want to check if our cached data is still fresh. This depends
882 /* now split into directory levels */
H A Dmod_cache.c288 /* If we're a lookup, we can exit now instead of serving the content. */
819 apr_time_t exp, date, lastmod, now; local
851 * whatever comes now.
1085 * indicating do not cache, or stop now if you are
1354 * We now want to update the cache file header information with
1378 now = apr_time_now();
1381 info->date = now;
1386 info->response_time = now;
1397 "replacing with now");
1431 * an expiration time of now
[all...]
/httpd/modules/cluster/
H A Dmod_heartmonitor.c232 apr_time_t now; local
250 now = apr_time_now();
270 fage = apr_time_sec(now - fi.mtime);
336 seen = apr_time_sec(now - s->seen);
346 seen = apr_time_sec(now - s->seen);
400 apr_time_t now; local
411 now = apr_time_now();
417 seen = apr_time_sec(now - s->seen);
469 apr_time_t now; local
471 now
590 apr_time_t cur, now; local
[all...]
/httpd/modules/filters/
H A Dmod_reqtimeout.c89 apr_time_t now)
91 if (!now)
92 now = apr_time_now();
93 *time_left_p = ccfg->timeout_at - now;
175 apr_time_t now = 0; local
198 now = apr_time_now();
199 ccfg->timeout_at = now + apr_time_from_sec(ccfg->new_timeout);
202 ccfg->max_timeout_at = now + apr_time_from_sec(ccfg->new_max_timeout);
215 rv = check_time_left(ccfg, &time_left, now);
87 check_time_left(reqtimeout_con_cfg *ccfg, apr_time_t *time_left_p, apr_time_t now) argument
/httpd/modules/session/
H A Dmod_session.c96 apr_time_t now; local
128 now = apr_time_now();
130 if (zz->expiry && zz->expiry < now) {
156 zz->expiry = now + dconf->maxage * APR_USEC_PER_SEC;
179 apr_time_t now = apr_time_now(); local
192 if (z->expiry && z->expiry < now) {
201 z->expiry = now + dconf->maxage * APR_USEC_PER_SEC;
207 z->expiry = now + z->maxage * APR_USEC_PER_SEC;
/httpd/support/
H A Drotatelogs.c377 adjusted_time_t now, tLogStart; local
383 now = get_now(config, &offset);
390 tLogStart = (now / config->tRotation) * config->tRotation;
394 * interval is not yet over. Use the value of now instead
398 tLogStart = now;
403 tLogStart = now;
473 /* New log file is now 'current'. */
H A Dhtcacheclean.c107 static apr_time_t now; /* start time of this processing run */ variable
235 "total size was %" APR_OFF_T_FMT ".%" APR_OFF_T_FMT "%c, total size now "
239 ", total %sinodes now "
244 "total entries was %" APR_OFF_T_FMT ", total entries now %" APR_OFF_T_FMT
276 /* If asked to delete dirs, do so now. We don't care if it fails.
1003 if (e->response_time > now || e->htime > now || e->dtime > now) {
1028 if (e->expire != APR_DATE_BAD && e->expire < now) {
1213 /* If asked to delete dirs, do so now
[all...]
/httpd/modules/dav/main/
H A Dutil_lock.c135 time_t now = time(NULL); local
141 if (now >= lock->timeout) {
145 apr_snprintf(tmp, sizeof(tmp), "Second-%lu", (long unsigned int)(lock->timeout - now));
H A Dutil.c239 /* now, verify that the URI uses the same scheme as the current.
268 ** For now, qualify unqualified comp.hostnames with
281 /* now, if a hostname was provided, then verify that it represents the
491 * In addition, for now, that's all we understand, too.
495 time_t now, expires = DAV_TIMEOUT_INFINITE; local
518 now = time(NULL);
519 return now + expires;
914 /* lock_list now determines whether we're in State 1, 2, or 3. */
1176 ** We have now matched up one of the resource's locktokens
1188 ** it. There is no way this state-list can now
[all...]
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c60 apr_time_t now; member in struct:ctx_servers
230 server->seen = apr_time_sec(ctx->now - slotserver->seen);
251 ctx.now = apr_time_now();
/httpd/modules/metadata/
H A Dmod_usertrack.c102 apr_time_t now = r->request_time ? r->request_time : apr_time_now(); local
108 random, (apr_uint64_t)now);
/httpd/server/mpm/event/
H A Devent.c529 /* for ungraceful termination, let the workers exit now;
1690 * registered above the given timeout_time (~now) + the queue
1775 apr_time_t now; local
1788 now = apr_time_now();
1790 if (now - last_log > apr_time_from_msec(1000)) {
1791 last_log = now;
1813 now = apr_time_now();
1817 if (te->when > now) {
1818 timeout_interval = te->when - now;
1828 if (te->when < now
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c701 apr_time_t now = apr_time_now(); local
734 if (l->bound && (now - l->last_backend_conn) > st->connection_pool_ttl) {
737 (now - l->last_backend_conn) / APR_USEC_PER_SEC);
772 if (l->bound && (now - l->last_backend_conn) > st->connection_pool_ttl) {
775 (now - l->last_backend_conn) / APR_USEC_PER_SEC);
1271 /* if there is an error (including LDAP_NO_SUCH_OBJECT) return now */
1750 /* if there is an error (including LDAP_NO_SUCH_OBJECT) return now */
2011 /* if there is an error (including LDAP_NO_SUCH_OBJECT) return now */
/httpd/modules/ssl/
H A Dssl_engine_vars.c156 /* for now, we just handle everything that starts with SSL_, but
715 apr_time_t then, now = apr_time_now(); local
748 diff = (long)((apr_time_sec(then) - apr_time_sec(now)) / (60*60*24));
/httpd/modules/lua/
H A Dlua_request.c1340 apr_time_t now; local
1341 now = apr_time_now();
1342 lua_pushnumber(L, (lua_Number) now);
/httpd/modules/aaa/
H A Dmod_auth_digest.c487 /* lookup and cache the actual provider now */
507 /* Add it to the list now. */
847 /* now add the entry */
1060 static const char *gen_nonce(apr_pool_t *p, apr_time_t now, const char *opaque, argument
1068 t.time = now;
1274 /* For now, if a provider isn't set, we'll be nice and use the file
1307 /* If we're not really configured for providers, stop now. */

Completed in 1142 milliseconds