comparison src/core/ngx_times.c @ 525:09b42134ac0c release-0.1.37

nginx-0.1.37-RELEASE import *) Change: now the "\n" is added to the end of the "nginx.pid" file. *) Bugfix: the responses may be transferred not completely, if many parts or the big parts were included by SSI. *) Bugfix: if all backends had returned the 404 reponse and the "http_404" parameter of the "proxy_next_upstream" or "fastcgi_next_upstream" directives was used, then nginx started to request all backends again.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 23 Jun 2005 13:41:06 +0000
parents dadfa78d2270
children ecd9c160f25b
comparison
equal deleted inserted replaced
524:a55bc21dee27 525:09b42134ac0c
58 ngx_thread_volatile ngx_str_t ngx_cached_http_time; 58 ngx_thread_volatile ngx_str_t ngx_cached_http_time;
59 ngx_thread_volatile ngx_str_t ngx_cached_http_log_time; 59 ngx_thread_volatile ngx_str_t ngx_cached_http_log_time;
60 60
61 61
62 static u_char cached_err_log_time[NGX_TIME_SLOTS] 62 static u_char cached_err_log_time[NGX_TIME_SLOTS]
63 [sizeof("1970/09/28 12:00:00")]; 63 [sizeof("1970/09/28 12:00:00")];
64 static u_char cached_http_time[NGX_TIME_SLOTS] 64 static u_char cached_http_time[NGX_TIME_SLOTS]
65 [sizeof("Mon, 28 Sep 1970 06:00:00 GMT")]; 65 [sizeof("Mon, 28 Sep 1970 06:00:00 GMT")];
66 static u_char cached_http_log_time[NGX_TIME_SLOTS] 66 static u_char cached_http_log_time[NGX_TIME_SLOTS]
67 [sizeof("28/Sep/1970:12:00:00 +0600")]; 67 [sizeof("28/Sep/1970:12:00:00 +0600")];
68 68
69 69
70 static char *week[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; 70 static char *week[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
71 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", 71 static char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
72 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; 72 "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };