comparison src/core/ngx_times.c @ 74:77969b24f355 NGINX_0_1_37

nginx 0.1.37 *) 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 <http://sysoev.ru>
date Thu, 23 Jun 2005 00:00:00 +0400
parents 818201e5a553
children 45f7329b4bd0
comparison
equal deleted inserted replaced
73:05310cdbd906 74:77969b24f355
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" };