Happy birthday, Igor ?

Antoine Bonavita antoine.bonavita at gmail.com
Wed Sep 28 10:20:21 UTC 2011


Given the amount of times Sep 28th 1970 is mentioned in the nginx code
(see below), I am putting a rough guess that this is your birthday.
So, in this very special day, I wanted to thank you for your amazing
little kid and I would have loved to buy you a beer but you're a bit
far away. If you ever get near the south of France, I'll buy you one.

Of course, I could be completely wrong.

A.

nginx-HEAD]$ grep '1970' -R src
src/http/ngx_http_variables.c:
sizeof("Last-Modified: Mon, 28 Sep 1970 06:00:00 GMT") - 1);
src/http/ngx_http_parse_time.c:             * 719527 days were between
March 1, 1 BC and March 1, 1970,
src/http/ngx_http_parse_time.c:             * 31 and 28 days were in
January and February 1970
src/http/ngx_http_header_filter_module.c:        len += sizeof("Date:
Mon, 28 Sep 1970 06:00:00 GMT" CRLF) - 1;
src/http/ngx_http_header_filter_module.c:        len +=
sizeof("Last-Modified: Mon, 28 Sep 1970 06:00:00 GMT" CRLF) - 1;
src/http/modules/ngx_http_headers_filter_module.c:    len =
sizeof("Mon, 28 Sep 1970 06:00:00 GMT");
src/http/modules/ngx_http_headers_filter_module.c:
expires->value.data = (u_char *) "Thu, 01 Jan 1970 00:00:01 GMT";
src/http/modules/ngx_http_log_module.c:    { ngx_string("time_local"),
sizeof("28/Sep/1970:12:00:00 +0600") - 1,
src/http/modules/ngx_http_log_module.c:    {
ngx_string("time_iso8601"), sizeof("1970-09-28T12:00:00+06:00") - 1,
src/http/modules/ngx_http_autoindex_module.c:            + sizeof("
28-Sep-1970 12:00 ") - 1
src/core/ngx_times.c:
[sizeof("1970/09/28 12:00:00")];
src/core/ngx_times.c:                                    [sizeof("Mon,
28 Sep 1970 06:00:00 GMT")];
src/core/ngx_times.c:
[sizeof("28/Sep/1970:12:00:00 +0600")];
src/core/ngx_times.c:
[sizeof("1970-09-28T12:00:00+06:00")];
src/core/ngx_times.c:    ngx_cached_err_log_time.len =
sizeof("1970/09/28 12:00:00") - 1;
src/core/ngx_times.c:    ngx_cached_http_time.len = sizeof("Mon, 28
Sep 1970 06:00:00 GMT") - 1;
src/core/ngx_times.c:    ngx_cached_http_log_time.len =
sizeof("28/Sep/1970:12:00:00 +0600") - 1;
src/core/ngx_times.c:    ngx_cached_http_log_iso8601.len =
sizeof("1970-09-28T12:00:00+06:00") - 1;
src/core/ngx_times.c:    /* Jaunary 1, 1970 was Thursday */
src/os/win32/ngx_time.c:     * Between January 1, 1970 (Epoch) and
January 1, 1601 there were



More information about the nginx mailing list