Crash with long expires

Hi,

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.

Cheers,

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.