Home
last modified time | relevance | path

Searched refs:ngx_time (Results 1 – 25 of 34) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_times.h36 #define ngx_time() ngx_cached_time->sec macro
H A Dngx_resolver.c618 if (rn->valid >= ngx_time()) { in ngx_resolve_name_locked()
624 rn->expire = ngx_time() + r->expire; in ngx_resolve_name_locked()
869 rn->expire = ngx_time() + r->resend_timeout; in ngx_resolve_name_locked()
963 if (rn->valid >= ngx_time()) { in ngx_resolve_addr()
1224 now = ngx_time(); in ngx_resolver_expire()
1496 now = ngx_time(); in ngx_resolver_resend()
2395 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_a()
2467 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_a()
2816 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_srv()
2852 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_srv()
[all …]
H A Dngx_log.c172 if (ngx_time() == log->disk_full_time) { in ngx_log_error_core()
186 log->disk_full_time = ngx_time(); in ngx_log_error_core()
H A Dngx_open_file_cache.c205 now = ngx_time(); in ngx_open_cached_file()
1041 file->accessed = ngx_time(); in ngx_close_cached_file()
1102 now = ngx_time(); in ngx_expire_old_cached_files()
H A Dngx_times.c438 now = ngx_time(); in ngx_next_time()
/f-stack/app/nginx-1.16.1/auto/
H A Dsources132 src/os/unix/ngx_time.h \
161 src/os/unix/ngx_time.c \
216 src/os/win32/ngx_time.h \
237 src/os/win32/ngx_time.c \
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_random_module.c231 now = ngx_time(); in ngx_stream_upstream_get_random_peer()
325 now = ngx_time(); in ngx_stream_upstream_get_random2_peer()
H A Dngx_stream_upstream_least_conn_module.c117 now = ngx_time(); in ngx_stream_upstream_get_least_conn_peer()
H A Dngx_stream_upstream_hash_module.c186 now = ngx_time(); in ngx_stream_upstream_get_hash_peer()
521 now = ngx_time(); in ngx_stream_upstream_get_chash_peer()
H A Dngx_stream_upstream_round_robin.c525 now = ngx_time(); in ngx_stream_upstream_get_peer()
622 now = ngx_time(); in ngx_stream_upstream_free_round_robin_peer()
H A Dngx_stream_log_module.c235 if (ngx_time() == log[l].disk_full_time) { in ngx_stream_log_handler()
390 now = ngx_time(); in ngx_stream_log_write()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_random_module.c231 now = ngx_time(); in ngx_http_upstream_get_random_peer()
325 now = ngx_time(); in ngx_http_upstream_get_random2_peer()
H A Dngx_http_degradation_module.c119 now = ngx_time(); in ngx_http_degraded()
H A Dngx_http_userid_filter_module.c418 p = ngx_http_cookie_time(p, ngx_time() + conf->expires); in ngx_http_userid_set_uid()
519 ctx->uid_set[1] = (uint32_t) ngx_time(); in ngx_http_userid_create_uid()
565 ctx->uid_set[1] = htonl((uint32_t) ngx_time()); in ngx_http_userid_create_uid()
H A Dngx_http_upstream_ip_hash_module.c171 now = ngx_time(); in ngx_http_upstream_get_ip_hash_peer()
H A Dngx_http_upstream_least_conn_module.c121 now = ngx_time(); in ngx_http_upstream_get_least_conn_peer()
H A Dngx_http_upstream_hash_module.c186 now = ngx_time(); in ngx_http_upstream_get_hash_peer()
520 now = ngx_time(); in ngx_http_upstream_get_chash_peer()
H A Dngx_http_secure_link_module.c182 v->data = (u_char *) ((expires && expires < ngx_time()) ? "0" : "1"); in ngx_http_secure_link_variable()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_file_cache.c635 now = ngx_time(); in ngx_http_file_cache_read()
843 if (fcn->valid_sec < ngx_time()) { in ngx_http_file_cache_exists()
916 fcn->expire = ngx_time() + cache->inactive; in ngx_http_file_cache_exists()
1768 fcn->expire = ngx_time() + cache->inactive; in ngx_http_file_cache_forced_expire()
1820 now = ngx_time(); in ngx_http_file_cache_expire()
1874 fcn->expire = ngx_time() + cache->inactive; in ngx_http_file_cache_expire()
2212 if (cache->fail_time != ngx_time()) { in ngx_http_file_cache_add()
2213 cache->fail_time = ngx_time(); in ngx_http_file_cache_add()
2241 fcn->expire = ngx_time() + cache->inactive; in ngx_http_file_cache_add()
H A Dngx_http_write_filter_module.c258 limit = (off_t) r->limit_rate * (ngx_time() - r->start_sec + 1) in ngx_http_write_filter()
H A Dngx_http_upstream_round_robin.c516 now = ngx_time(); in ngx_http_upstream_get_peer()
616 now = ngx_time(); in ngx_http_upstream_free_round_robin_peer()
H A Dngx_http_upstream.c2522 now = ngx_time(); in ngx_http_upstream_test_next()
2641 r->cache->valid_sec = ngx_time() + valid; in ngx_http_upstream_intercept_errors()
3061 now = ngx_time(); in ngx_http_upstream_send_response()
3130 p->start_sec = ngx_time(); in ngx_http_upstream_send_response()
4406 r->cache->valid_sec = ngx_time() + valid; in ngx_http_upstream_finalize_request()
4638 r->cache->valid_sec = ngx_time() + n; in ngx_http_upstream_process_cache_control()
4720 if (expires == NGX_ERROR || expires < ngx_time()) { in ngx_http_upstream_process_expires()
4771 r->cache->valid_sec = ngx_time() + n; in ngx_http_upstream_process_accel_expires()
H A Dngx_http_request.c2699 r->lingering_time = ngx_time() in ngx_http_finalize_connection()
3011 r->lingering_time = ngx_time() + (time_t) (clcf->lingering_time / 1000); in ngx_http_set_keepalive()
3358 r->lingering_time = ngx_time() + (time_t) (clcf->lingering_time / 1000); in ngx_http_set_lingering_close()
3410 timer = (ngx_msec_t) r->lingering_time - (ngx_msec_t) ngx_time(); in ngx_http_lingering_close_handler()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_openssl_stapling.c526 && staple->valid >= ngx_time()) in ngx_ssl_certificate_status_callback()
555 || staple->loading || staple->refresh >= ngx_time()) in ngx_ssl_stapling_update()
609 now = ngx_time(); in ngx_ssl_stapling_ocsp_handler()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_files.c605 tv[0].tv_sec = ngx_time(); in ngx_set_file_time()

12