Mercurial > hg > nginx-quic
diff src/mail/ngx_mail_core_module.c @ 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 | 6c13008ad503 |
children | 7f955d3b9a0d |