aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_log_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-03-01 20:25:50 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-03-01 20:25:50 +0300
commitc7e8a6f2123c653b63ed8013a805eddff502b9ee (patch)
tree1b4dd1cd6c27935fbadb2b4a00a514e0a27bdce0 /src/stream/ngx_stream_log_module.c
parent6e30556127157ddf04e925480ce1e0ef9df2ca0a (diff)
downloadnginx-c7e8a6f2123c653b63ed8013a805eddff502b9ee.tar.gz
nginx-c7e8a6f2123c653b63ed8013a805eddff502b9ee.zip
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).
Diffstat (limited to 'src/stream/ngx_stream_log_module.c')
0 files changed, 0 insertions, 0 deletions