Crash with long expires

Igor Sysoev is at rambler-co.ru
Thu Jan 31 19:18:03 MSK 2008


On Thu, Jan 31, 2008 at 11:19:11AM +0100, Joaquin Cuenca Abela wrote:

> I had an expires of 30y in the future for static content. A couple
> days ago nginx started crashing. After a quick gdb session, I saw it
> was a 2038 year bug. I changed it to 20y in the future, but I thought
> that you may want to know about the crash.

Thank you, it will be fixed in next release.
You may use also

     expires max;

This sets Expires to 31 Dec 2037, and Cache-Control to 10 years.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list