Mercurial > hg > nginx
comparison src/core/ngx_times.c @ 499:64d9afb209da release-0.1.24
nginx-0.1.24-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Fri, 04 Mar 2005 14:06:57 +0000 |
parents | 45a460f82aec |
children | d4ea69372b94 |
comparison
equal
deleted
inserted
replaced
498:58fcf570b0cb | 499:64d9afb209da |
---|---|
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 |