Re: Set last modified out header

2016-02-10 Thread Maxim Dounin
Hello! On Wed, Feb 10, 2016 at 03:44:13AM -0500, Ortal wrote: > Hello, > I am building my own NGINX module, when I try to set the last modified out > header I have a struct timespec which I need to convert to last modified. > When I set the last modified with the tv_sec the last modified get inva

Set last modified out header

2016-02-10 Thread Ortal
Hello, I am building my own NGINX module, when I try to set the last modified out header I have a struct timespec which I need to convert to last modified. When I set the last modified with the tv_sec the last modified get invalid date. How can I set the last modified correctly? Posted at Nginx