comparison src/core/ngx_times.c @ 48:6cfc63e68377 NGINX_0_1_24

nginx 0.1.24 *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <http://sysoev.ru>
date Fri, 04 Mar 2005 00:00:00 +0300
parents 2879cd3a40cb
children 72eb30262aac
comparison
equal deleted inserted replaced
47:4ae32548452c 48:6cfc63e68377
69 static char *week[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; 69 static char *week[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
70 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", 70 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
71 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; 71 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
72 72
73 73
74 void ngx_time_init() 74 void ngx_time_init(void)
75 { 75 {
76 struct timeval tv; 76 struct timeval tv;
77 77
78 ngx_memzero(&ngx_cached_gmtime, sizeof(ngx_tm_t)); 78 ngx_memzero(&ngx_cached_gmtime, sizeof(ngx_tm_t));
79 #ifdef ngx_tm_zone 79 #ifdef ngx_tm_zone