Mercurial > hg > nginx-vendor-0-5
view src/core/ngx_times.h @ 104:146eff53ab60 NGINX_0_2_6
nginx 0.2.6
*) Change: while using load-balancing the time before the failed
backend retry was decreased from 60 to 10 seconds.
*) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI
now passed, if the URI part is omitted in "proxy_pass" directive.
*) Feature: the "error_page" directive supports redirects and allows
more flexible to change an error code.
*) Change: the charset in the "Content-Type" header line now is ignored
in proxied subrequests.
*) Bugfix: if the URI was changed in the "if" block and request did not
found new configuration, then the ngx_http_rewrite_module rules ran
again.
*) Bugfix: if the "set" directive set the ngx_http_geo_module variable
in some configuration part, the this variable was not available in
other configuration parts and the "using uninitialized variable"
error was occurred; bug appeared in 0.2.2.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 05 Oct 2005 00:00:00 +0400 |
parents | b55cbf18157e |
children | 45f7329b4bd0 |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_TIMES_H_INCLUDED_ #define _NGX_TIMES_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> void ngx_time_init(void); void ngx_time_update(time_t s); u_char *ngx_http_time(u_char *buf, time_t t); u_char *ngx_http_cookie_time(u_char *buf, time_t t); void ngx_gmtime(time_t t, ngx_tm_t *tp); #if (NGX_THREADS) ngx_int_t ngx_time_mutex_init(ngx_log_t *log); #endif #if (NGX_THREADS && (NGX_TIME_T_SIZE > NGX_SIG_ATOMIC_T_SIZE)) #define ngx_time() *ngx_cached_time extern volatile time_t *ngx_cached_time; #else #define ngx_time() ngx_cached_time extern volatile time_t ngx_cached_time; #endif extern ngx_thread_volatile ngx_str_t ngx_cached_err_log_time; extern ngx_thread_volatile ngx_str_t ngx_cached_http_time; extern ngx_thread_volatile ngx_str_t ngx_cached_http_log_time; extern ngx_epoch_msec_t ngx_start_msec; /* * msecs elapsed since ngx_start_msec in the current event cycle, * used in ngx_event_add_timer() and ngx_event_find_timer() */ extern ngx_epoch_msec_t ngx_elapsed_msec; /* * msecs elapsed since ngx_start_msec in the previous event cycle, * used in ngx_event_expire_timers() */ extern ngx_epoch_msec_t ngx_old_elapsed_msec; extern ngx_int_t ngx_gmtoff; #endif /* _NGX_TIMES_H_INCLUDED_ */