Mercurial > hg > nginx
view src/core/ngx_times.h @ 523:2019117e6b38 release-0.1.36
nginx-0.1.36-RELEASE import
*) Change: if the request header has duplicate the "Host",
"Connection", "Content-Length", or "Authorization" lines, then nginx
now returns the 400 error.
*) Change: the "post_accept_timeout" directive was canceled.
*) Feature: the "default", "af=", "bl=", "deferred", and "bind"
parameters of the "listen" directive.
*) Feature: the FreeBSD accept filters support.
*) Feature: the Linux TCP_DEFER_ACCEPT support.
*) Bugfix: the ngx_http_autoindex_module did not support the file names
in UTF-8.
*) Bugfix: the new log file can be rotated by the -USR1 signal only if
the reconfiguration by the -HUP signal was made twice.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 15 Jun 2005 18:33:41 +0000 |
parents | 9b8c906f6e63 |
children | ecd9c160f25b |
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_ */