comparison src/os/unix/ngx_time.h @ 404:a094317ba307 NGINX_0_7_14

nginx 0.7.14 *) Change: now the ssl_certificate and ssl_certificate_key directives have not default values. *) Feature: the "listen" directive supports the "ssl" parameter. *) Feature: now nginx takes into account a time zone change while reconfiguration on FreeBSD and Linux. *) Bugfix: the "listen" directive parameters such as "backlog", "rcvbuf", etc. were not set, if a default server was not the first one. *) Bugfix: if URI part captured by a "rewrite" directive was used as a query string, then the query string was not escaped. *) Bugfix: configuration file validity test improvements.
author Igor Sysoev <http://sysoev.ru>
date Mon, 01 Sep 2008 00:00:00 +0400
parents 408f195b3482
children d0f7a625f27c
comparison
equal deleted inserted replaced
403:d46814b99ca0 404:a094317ba307
50 #define ngx_timezone(isdst) (- (isdst ? timezone + 3600 : timezone) / 60) 50 #define ngx_timezone(isdst) (- (isdst ? timezone + 3600 : timezone) / 60)
51 51
52 #endif 52 #endif
53 53
54 54
55 void ngx_timezone_update(void);
55 void ngx_localtime(time_t s, ngx_tm_t *tm); 56 void ngx_localtime(time_t s, ngx_tm_t *tm);
56 void ngx_libc_localtime(time_t s, struct tm *tm); 57 void ngx_libc_localtime(time_t s, struct tm *tm);
57 void ngx_libc_gmtime(time_t s, struct tm *tm); 58 void ngx_libc_gmtime(time_t s, struct tm *tm);
58 59
59 #define ngx_gettimeofday(tp) (void) gettimeofday(tp, NULL); 60 #define ngx_gettimeofday(tp) (void) gettimeofday(tp, NULL);