Mercurial > hg > nginx-quic
comparison src/http/ngx_http_config.h @ 7222:81fae70d6cb8
Core: ngx_current_msec now uses monotonic time if available.
When clock_gettime(CLOCK_MONOTONIC) (or faster variants, _FAST on FreeBSD,
and _COARSE on Linux) is available, we now use it for ngx_current_msec.
This should improve handling of timers if system time changes (ticket #189).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 01 Mar 2018 20:25:50 +0300 |
parents | d620f497c50f |
children |
comparison
equal
deleted
inserted
replaced
7221:43585e0e12a3 | 7222:81fae70d6cb8 |
---|