Mercurial > hg > nginx-vendor-0-8
comparison src/core/ngx_times.c @ 38:2879cd3a40cb NGINX_0_1_19
nginx 0.1.19
*) Bugfix: now, if request contains the zero, then the 404 error is
returned for the local requests.
*) Bugfix: nginx could not be built on NetBSD 2.0.
*) Bugfix: the timeout may occur while reading of the the client
request body via SSL connections.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 16 Feb 2005 00:00:00 +0300 |
parents | 45fe5b98a9de |
children | 6cfc63e68377 |
comparison
equal
deleted
inserted
replaced
37:3376a7dea5d6 | 38:2879cd3a40cb |
---|---|
306 } else if (mday > 28) { | 306 } else if (mday > 28) { |
307 mon = 3; | 307 mon = 3; |
308 mday -= 28; | 308 mday -= 28; |
309 } | 309 } |
310 } | 310 } |
311 | |
312 /* | 311 /* |
313 * there is no "yday" in Win32 SYSTEMTIME | 312 * there is no "yday" in Win32 SYSTEMTIME |
314 * | 313 * |
315 * } else { | 314 * } else { |
316 * yday += 31 + 28; | 315 * yday += 31 + 28; |
317 * | 316 * |
318 * if ((year % 4 == 0) && (year % 100 || (year % 400 == 0))) { | 317 * if ((year % 4 == 0) && (year % 100 || (year % 400 == 0))) { |
319 * yday++; | 318 * yday++; |
320 * } | 319 * } |
321 */ | 320 */ |
322 } | 321 } |
323 | 322 |
324 tp->ngx_tm_sec = (ngx_tm_sec_t) sec; | 323 tp->ngx_tm_sec = (ngx_tm_sec_t) sec; |